win10下多版本apache(2.2,2.4)+php(5.3.5,5.5.37,5.6.25,7.0.8)注意點

1.Loaded Configuration File 問題:

apache2.2 httpd

PHPIniDir D:\php5.3.5\php.ini
AddType application/x-httpd-php .php .html .htm
LoadModule php5_module D:/php5.3.5/php5apache2_2.dll

apache2.4 httpd

#解決curl問題
LoadFile D:/php-7.0.8/php7ts.dll
LoadFile D:/php-7.0.8/libeay32.dll
LoadFile D:/php-7.0.8/ssleay32.dll
LoadFile D:/php-7.0.8/libssh2.dll

# php5.5 support
#LoadModule php5_module D:/php-5.5.37/php5apache2_4.dll
#AddType application/x-httpd-php .php .html .htm
# configure thepath to php.ini
#PHPIniDir "D:/php-5.5.37"

# php5.6 support
#LoadModule php5_module D:/php-5.6.25/php5apache2_4.dll
#AddType application/x-httpd-php .php .html .htm
# configure thepath to php.ini
#PHPIniDir "D:/php-5.6.25"

# php7 support
LoadModule php7_module D:/php-7.0.8/php7apache2_4.dll
AddType application/x-httpd-php .php .html .htm
# configure thepath to php.ini
PHPIniDir "D:/php-7.0.8"

2 一些相關命令(管理員權限)php

cd d:\apache22
httpd  –k install
httpd  –k start
httpd  –k stop
httpd -S

sc delete apache2.2
相關文章
相關標籤/搜索