方法一、修改httpd.conf配置文件,添加以下信息,注意php的目录LoadFile D:/webconfig/php-5.5.25/php5ts.dllLoadFile D:/webconfig/php-5.5.25/libeay32.dllLoadFile D:/webconfig/php-5.5.25/ssleay32.dllLoadFile D:/webconfig/php-5.5.25/libssh2.dllLoadModule 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方法二、确保ext下有php_curl.dll,php.ini里extensions=php_curl.dllphp目录下有libeay32.dll,ssleay32.dll.libssh2.dll...
上周将环境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...