php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42914 Wrong Path load extensions
Submitted: 2007-10-10 11:50 UTC Modified: 2007-10-11 23:46 UTC
From: machineextractor at yahoo dot com Assigned:
Status: Closed Package: Apache2 related
PHP Version: 5.2.4 OS: Windows Xp
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
11 - 2 = ?
Subscribe to this entry?

 
 [2007-10-10 11:50 UTC] machineextractor at yahoo dot com
Description:
------------
Php loads extensions from: 'D:\Servers\PHP\ext\'
not from: 'D:\\Servers\\PHP\\ext\\'
Not 2 back slashes.
We are not in Linux to have 2 backslashes
The problem is that i cannot replace those 2 backslashes from anywere
i havent't found something to edit in any ini files

Reproduce code:
---------------
PHP Warning:  PHP Startup: Unable to load dynamic library 'D:\\Servers\\PHP\\ext\\php_mysql.dll' - The specified procedure could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'D:\\Servers\\PHP\\ext\\php_mysqli.dll' - The specified procedure could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'D:\\Servers\\PHP\\ext\\php_pdo_mysql.dll' - The specified procedure could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'D:\\Servers\\PHP\\ext\\php_pdo_oci.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'D:\\Servers\\PHP\\ext\\php_pdo_oci8.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'D:\\Servers\\PHP\\ext\\php_pdo_sqlite_external.dll' - The specified module could not be found.\r\n in Unknown on line 0


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-11 10:25 UTC] johannes@php.net
What does your extension_dir entry in php.ini look like? (Make sure you'e looking to the right file by checking phpinfo() output)
 [2007-10-11 23:40 UTC] carsten_sttgt at gmx dot de
IMHO PHP can't find the needed libraries like "libmysql.dll". Make sure, that the path to these libraries is in your system environment variable PATH.

BTW:
You have an Oracle client installed on your system? If yes, the path to the client must also be in PATH. (the same for SQLite)

Regards,
Carsten
 [2007-10-11 23:46 UTC] machineextractor at yahoo dot com
I have found the problem
I have to copy php5ts.dll into c:\windows\system32 and reboot the system and the problem has been rezolved
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 08:01:28 2024 UTC