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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: machineextractor at yahoo dot com
New email:
PHP Version: OS:

 

 [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: Sat Apr 27 03:01:29 2024 UTC