apache php安装配置有关问题
程序员文章站
2024-01-04 10:46:34
...
apache php安装配置问题
Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
Pre-configuration failed
apache可以正常启动,我添加加载php时候重启失败了..
在apache的配置中添加了这3行,apache重启失败。
LoadModule php5_module "D:/wamp/php5/php5apache2_2_filter.dll"
AddType application/x-httpd-php .php
PHPIniDir "D:/wamp/php5"
我的apache版本是httpd-2.2.22
php版本是php-5.2.17
php解压路径是D:/wamp/php5 php.ini也有了
------解决方案--------------------
换这个php
http://windows.php.net/downloads/releases/archives/php-5.3.5-Win32-VC6-x86.msi
Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
Pre-configuration failed
apache可以正常启动,我添加加载php时候重启失败了..
在apache的配置中添加了这3行,apache重启失败。
LoadModule php5_module "D:/wamp/php5/php5apache2_2_filter.dll"
AddType application/x-httpd-php .php
PHPIniDir "D:/wamp/php5"
我的apache版本是httpd-2.2.22
php版本是php-5.2.17
php解压路径是D:/wamp/php5 php.ini也有了
------解决方案--------------------
换这个php
http://windows.php.net/downloads/releases/archives/php-5.3.5-Win32-VC6-x86.msi
相关文章
相关视频