As soon as i open a phpinfo()
script called version.php
apache stops working. Here is the error.log
file. My configuration (my local development machine):
- Windows 7 Home Premium x64 SP1 with latest updates
- Apache 2.4.2 win32 from Apache Lounge
- PHP 5.4.4 VC9 x86 TS from PHP For Windows
php5apache2_4.dll
(PHP 5.4.4) taken from Apache Lounge php5apache2_4.dll-php-5.4-win32.zip
PATH
environment variable is PATH=C:\WAMP\Apache\bin;C:\WAMP\PHP
and installation folders (unzipping) are:
C:/WAMP/Apache
C:/WAMP/PHP
Microsoft Visual C++ 2010 SP1 x86/x64 installed and updated. So everything looks fine to me. PHP integration in httpd.conf
is:
# Integrazione PHP
LoadModule php5_module "C:/WAMP/PHP/php5apache2_4.dll"
PhpIniDir "C:/WAMP/PHP"
AddType application/x-httpd-php .php
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
I don't assume that PHP uses the PATH variable to resolve the path of the extensions. So try adding the whol path in the
extension_dir
variable likeI've seen PHP crash Apache on phpinfo() before when:
Try removing the loaded PHP modules/extensions one-by-one to see if one of them is causing this.