Bug #45298 [Com]: php insists in loading dlls from c:\php5
Edit report at http://bugs.php.net/bug.php?id=45298&edit=1
ID: 45298
Comment by:
Reported by: mariusads at helpedia dot com
Summary: php insists in loading dlls from c:\php5
Status: Bogus
Type: Bug
Package: Dynamic loading
Operating System: windows 2003 web edition
PHP Version: 5.2.6
Assigned To: pajoye
New Comment:
Try with your initial path and uncomment the following line in php.ini:
extension_dir = "ext""
Previous Comments:
------------------------------------------------------------------------
[2008-06-18 10:57:25] mariusads at helpedia dot com
I've set it to d:\php5\ext and is still tries loading from c:\php5
I'm not stupid. Checked several times with various paths and i finally
gave up and created a php5 folder in C:\ and copied there the files
d:\php5\ext
------------------------------------------------------------------------
[2008-06-18 10:22:50] pajoye@php.net
> extension_dir = "."
Set it to the actual full path (c:\php5\ext for example)
------------------------------------------------------------------------
[2008-06-18 10:17:00] mariusads at helpedia dot com
Additional note:
if extension_dir = "" as in my last attempt, in apache these lines
appear:
PHP Warning: PHP Startup: Unable to load dynamic library
'C:\php5\php_bz2.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'C:\php5\php_curl.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'C:\php5\php_gd2.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'C:\php5\php_mbstring.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'C:\php5\php_mcrypt.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'C:\php5\php_mhash.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'C:\php5\php_mysql.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'C:\php5\php_zip.dll' - The specified module could not be found.
in Unknown on line 0
------------------------------------------------------------------------
[2008-06-18 10:14:11] mariusads at helpedia dot com
Description:
------------
php 5.2.6.6
No matter what directories I set in the php.ini, php insists on loading
the extension dll files from c:\php5
Reproduce code:
---------------
in php.ini the following are set:
include_path = ".;d:\php5"
doc_root =
user_dir =
extension_dir = "."
PHP is installed in D:\php5
I've copied all the dlls from the ext folder to d:\php5
When apache loads the following lines appear in error.log:
PHP Warning: PHP Startup: Unable to load dynamic library
'.\php_bz2.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'.\php_curl.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'.\php_gd2.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'.\php_mbstring.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'.\php_mcrypt.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'.\php_mhash.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'.\php_mysql.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'.\php_zip.dll' - The specified module could not be found.
Expected result:
----------------
DLLs should be loaded from d:\php5 without problems
Actual result:
--------------
Libraries are not loaded
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=45298&edit=1
Thread (5 messages)