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版本的路徑下,以免弄錯!