php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37332 extensions don't load
Submitted: 2006-05-05 17:16 UTC Modified: 2006-05-05 18:33 UTC
From: somepost at centrum dot cz Assigned:
Status: Not a bug Package: Dynamic loading
PHP Version: 5.1.4 OS: Windows XP SP2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: somepost at centrum dot cz
New email:
PHP Version: OS:

 

 [2006-05-05 17:16 UTC] somepost at centrum dot cz
Description:
------------
I have Windows XP SP2, Apache 1.3, PHP 5.1.4.4.as Apache module.

php.ini is located in D:\WINDOWS\php.ini

key settings:
extension_dir = "D:\php\ext\"
extension=php_curl.dll
extension=php_imap.dll
extension=php_pdo.dll
extension=php_pdo_mysql.dll


PHP is not able to load extensions.
All paths to extensions are correct
but in Apache log I see messages:

PHP Warning:  PHP Startup: Unable to load dynamic library [here is lib name: php_curl.dll, php_pdo_mysql.dll...]

When I save php.ini and downgrade PHP to 5.1.2 all modules
are successfully loaded. I also tried PHP 5.1.3 and I saw modules weren't loaded, so I think this bug is in 5.1.3 and
5.1.4.




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-05 18:14 UTC] somepost at centrum dot cz
correct title is extensions aren't loaded
Sorry
 [2006-05-05 18:16 UTC] mike@php.net
Does phpinfo() report the right php.ini location and extension_dir?

Please try removing that trailing backslash in the extension_dir directive.

 [2006-05-05 18:33 UTC] somepost at centrum dot cz
Now I tried new Windows installation
and everything is OK.

>Does phpinfo() report the right php.ini location and extension_dir?

yes, paths were ok

> Please try removing that trailing backslash in the extension_dir
directive.

on new installation of windows it doesn't mind if there
is or isn't a backslash

Sorry for bogus
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 18:01:30 2024 UTC