php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38539 php-4.4.4 Not loading extensions
Submitted: 2006-08-22 01:14 UTC Modified: 2007-02-08 23:55 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:1 (50.0%)
From: scott at phphq dot net Assigned:
Status: No Feedback Package: Unknown/Other Function
PHP Version: 4.4.4 OS: Windows Server 2003 STD
Private report: No CVE-ID: None
 [2006-08-22 01:14 UTC] scott at phphq dot net
Description:
------------
Since upgrading to php 4.4.4 php no longer loads any extensions. I installed it the same way I did php 4.4.3 and all earlier versions since 4.3.8. My install is like this:

Shutdown IIS
mv C:\php > C:\php-4.4.3.bak

unzip new php package to C:\php
Move php4isapi.dll to C:\php and change permissions accordingly. Change permissions on php4ts.dll and move files from \dll's to C:\php. Copy old php.ini to C:\php

Restart IIS, phpinfo(), shows new version. 

This has worked for me flawless since 4.3.8, but with 4.4.4 it will not load any extensions. Downgrading back to 4.4.3 loads the extensions fine.

Some misc info:

PHPRC C:\php
PATH: ;C:\php
REG: IniFilePath: C:\php

phpinfo() shows it is loading my php.ini (C:\php\php.ini) and the extension directory is C:\php\extensions, yet it will not load any extensions.

Nothing has changed in my php.ini for a long time, the only extensions I have loaded are gettext, gd2, mbstring, zip.

Running Win Server 2003 STD w/ IIS6.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-22 07:45 UTC] tony2001@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.



 [2006-08-30 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2007-02-08 23:50 UTC] php at renephoenix dot de
I had the problem and I think it's a bug:

I installed PHP444, Apache 2.0.59.

I load the correct php.ini
I edit the php.ini (remove the ; and cutomize the extention_dir
I move two files to c:\windows\system32 like written in the manual for php_curl
Took PHP-dir to $PATH

I restart Apache und found in my error-log:

PHP Warning: PHP Startup: SVx8bt$x10WVhxc8px95: Unable to initialize module Module compiled with module API=20020429, debug=0, thread-safety=1 PHP compiled with module API=20060613, debug=0, thread-safety=1 These options need to match in Unknown on line 0

One per loaded extention. The extentions doesn't work.

The modules and the module-Api ware provided in one file (PHP 4.4.4 zip package, windows-binaries)
 [2007-02-08 23:55 UTC] tony2001@php.net
>Module compiled with module API=20020429
>PHP compiled with module API=20060613

Remove old php4ts.dll.

 [2007-02-09 17:41 UTC] php at renephoenix dot de
instead of this file?

(Without Apache won't start)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC