Edit report at http://bugs.php.net/bug.php?id=51450&edit=1

 ID:               51450
 Comment by:       mariusads at helpedia dot com
 Reported by:      mariusads at helpedia dot com
 Summary:          Extensions are not loaded
 Status:           Bogus
 Type:             Bug
 Package:          Dynamic loading
 Operating System: Windows 2008 Web Edition
 PHP Version:      5.3.2

 New Comment:

Thread safe version is even worse.



Installed the thread safe version, copied php.ini-production to
C:\Windows\php.ini, loaded the page with phpinfo() call and Apache sends
it as text file (i can read the code) even though php is loaded
correctly, as it appears in the Apache log:



[Wed Mar 31 22:38:41 2010] [notice] Apache/2.2.15 (Win32) PHP/5.3.2
configured -- resuming normal operations



If I remove the php.ini from Windows and just restart the Apache
service, the script is executed correctly.


Previous Comments:
------------------------------------------------------------------------
[2010-03-31 22:27:58] [email protected]

Fetch the thread safe version of PHP, not the NTS.



Reading the error log will certainly tell you why the extensions are not
loaded.

------------------------------------------------------------------------
[2010-03-31 22:24:41] mariusads at helpedia dot com

Description:
------------
Windows 2008 Web Edition 64 bit

Apache 2.2.15 fresh install

PHP 5.3.2



Apache installed in "C:\apache"

PHP installed in "C:\php"



PHP loaded in Apache using:



LoadModule php5_module "c:/php/php5apache2_2.dll"

AddType application/x-httpd-php .php



PHP.ini in C:\Windows



extension_dir = "c:\php\ext"

extensions php_mysql, php_mbstring and a few others uncommented.



When Apache service is started, PHP is loaded successfully but no
extension is loaded (using SysInternals' Process Explorer - replaces
FileMon.exe) I can see the c:\php\ext folder is not even touched. 

C:\Windows\php.ini is read and reported by phpinfo().



I downloaded the 5.3.2 release some time ago when it had the
php5apache2_2.dll in it, now i see the latest release no longer has it.




Is there some problem with Apache 2.2 that prevents PHP from loading
extensions?

Expected result:
----------------
Extensions should be loaded?

Actual result:
--------------
Extensions are not loaded


------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=51450&edit=1

Reply via email to