在php官网下载相应的软件包:http://windows.php.net/download/ 部分关键配置代码:PHPIniDir "D:/webconfig/php-7.0.3-Win32-VC14-x86"LoadFile "D:/webconfig/php-7.0.3-Win32-VC14-x86/php7ts.dll"LoadFile "D:/webconfig/php-7.0.3-Win32-VC14-x86/libeay32.dll"LoadFile "D:/webconfig/php-7.0.3-Win32-VC14-x86/ssleay32.dll"LoadFile "D:/webconfig/php-7.0.3-Win32-VC14-x86/libssh2.dll"LoadModule php7_module "D:/webconfig/php-7.0.3-Win32-VC14-x86/php7apache2_4.dl...
上周将环境php升级到5.5了,当然apache也需要升级到2.4现在apache2.4不用安装压缩包下载直接用,方便。加载php5.5LoadModule php5_module "D:/Webconfig/php-5.5.25/php5apache2_4.dll"PHPIniDir "D:/Webconfig/php-5.5.25"AddType application/x-httpd-php .php .html .htm在配置apache2.4+php5.5的过程中当然也遇到一些错误1、libssh2.dll 不存在,需要将php5.5目录下的libssh2.dll复制到windows目录下。2、AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80:: 首先找到ServerName(约213行),将其设置为localhost:80...