From:             mariusads at helpedia dot com
Operating system: windows 2003 web edition
PHP version:      5.2.6
PHP Bug Type:     Dynamic loading
Bug description:  php insists in loading dlls from c:\php5

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 bug report at http://bugs.php.net/?id=45298&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45298&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45298&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45298&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45298&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=45298&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45298&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45298&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45298&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45298&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45298&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=45298&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=45298&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45298&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45298&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45298&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45298&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45298&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45298&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45298&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45298&r=mysqlcfg

Reply via email to