the requested operation has failed,Apache服务无法重启,在cmd里运行提示是
cannot load E:\phpedu\php5.4\php5apache2_2.dll into server
我是这么写的
#1:加载PHP模块
LoadModule php5_module "E:\phpedu\php5.4\php5apache2_2.dll"
#2:配置php.ini文件的正确路径
PHPIniDir E:\phpedu\php5.4
#3:添加php类型文件到Apache服务器中
AddType application/x-httpd-php .php
请先注意下是否是对应的php版本的路径下,以免弄错!