php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20243 Wrong slash in DLL loading path
Submitted: 2002-11-04 05:42 UTC Modified: 2002-11-04 06:53 UTC
From: katanasov at hotmail dot com Assigned:
Status: Closed Package: XSLT related
PHP Version: 4.2.3 OS: WinXP
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: katanasov at hotmail dot com
New email:
PHP Version: OS:

 

 [2002-11-04 05:42 UTC] katanasov at hotmail dot com
When I change php.ini to load php_xslt.dll, it would define automatically the following path:

C:\PHP\extensions/php_sxlt.dll

I presume that forward slash messes the whole thing up. I have no control over the slash between "extensions" (part of the extension_dir definition) and "php_sxlt.dll", since PHP inserts this slash automatically.

Obviously this would work for UNIX, but what about Win users?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-04 05:44 UTC] katanasov at hotmail dot com
Core of the problem: Windows reports:

Unable to lead dynamic library 'C:\PHP\extensions/php_sxlt.dll" - The specified module could not be found.

So it's a directory definition problem...
 [2002-11-04 05:48 UTC] katanasov at hotmail dot com
OK... Even worse: included a final backslash in extension_dir definition, and this seems to fix the problem with the correct generation of the path. However, DLL could not be loaded again.
 [2002-11-04 06:44 UTC] msopacua@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

it's php_XSlt, not php_SXlt
 [2002-11-04 06:53 UTC] moriyoshi@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

And what if appending "\" to the directory name specified at extension_dir directive?

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 11:01:30 2024 UTC