我想用memcache和php7,所以下载了apache的php5.6 64版本,然后把apache的php7.0 64版本的php7文件夹内容复制到php5里边,修改了httpd.conf中php部分,但是apache启动不起来,应该怎么弄?
|
|
沙发#
发布于:2017-04-22 05:23
php部分修改代码
LoadModule php7_module "E:/UPUPW_AP5.6_64/PHP5/php7apache2_4.dll" <IfModule php7_module> PHPINIDir "E:/UPUPW_AP5.6_64/PHP5/" LoadFile "E:/UPUPW_AP5.6_64/PHP5/php7ts.dll" LoadFile "E:/UPUPW_AP5.6_64/PHP5/glib-2.dll" LoadFile "E:/UPUPW_AP5.6_64/PHP5/gmodule-2.dll" LoadFile "E:/UPUPW_AP5.6_64/PHP5/ssleay32.dll" LoadFile "E:/UPUPW_AP5.6_64/PHP5/libeay32.dll" LoadFile "E:/UPUPW_AP5.6_64/PHP5/libenchant.dll" LoadFile "E:/UPUPW_AP5.6_64/PHP5/libpq.dll" LoadFile "E:/UPUPW_AP5.6_64/PHP5/libsasl.dll" LoadFile "E:/UPUPW_AP5.6_64/PHP5/libssh2.dll" LoadFile "E:/UPUPW_AP5.6_64/PHP5/icudt56.dll" LoadFile "E:/UPUPW_AP5.6_64/PHP5/icuin56.dll" LoadFile "E:/UPUPW_AP5.6_64/PHP5/icuio56.dll" LoadFile "E:/UPUPW_AP5.6_64/PHP5/icule56.dll" LoadFile "E:/UPUPW_AP5.6_64/PHP5/icuuc56.dll" AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps </IfModule> |
|