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
#解決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