
私はWindows 7x64にEasyPHP 12.1(最新版)をインストールしており、mod_fcgid
PHPを有効にしようとしています。httpd.conf
Include conf/extra/httpd-vhosts.conf
LoadModule fcgid_module modules/mod_fcgid.so
FcgidInitialEnv PHPRC "C:\progra~2\EasyPHP-12.1\php\php546x121028092509"
AddHandler fcgid-script .php
FcgidWrapper "C:\progra~2\EasyPHP-12.1\php\php546x121028092509/php-cgi.exe" .php
そしてOptions ExecCGI Indexes FollowSymLinks
以下<Directory "${path}/www">
パスがすべて適切であることを確認し、全体C:\progra~2\EasyPHP-12.1
とwww
ルートの権限を に設定しましたEveryone - Allow All
。
それでも、すべてのサーバー(ローカルホスト)リクエストで403が返されますApache/2.4.2 (Win32) PHP/5.4.6 mod_fcgid/2.3.7
。知るmod_fcgid が有効になっており、403 が発生しています。
上記の行をコメントアウトすると、httpd.conf
再び動作しますが、非常に遅くなります (これが mod_fcgid が必要だった理由です)。何が間違っているのでしょうか?
編集:: エラーログ
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host2.example.com] does not exist
[Mon Nov 05 23:00:38.244339 2012] [mpm_winnt:notice] [pid 7072:tid 512] AH00455: Apache/2.4.2 (Win32) PHP/5.4.6 mod_fcgid/2.3.7 configured -- resuming normal operations
[Mon Nov 05 23:00:38.245339 2012] [mpm_winnt:notice] [pid 7072:tid 512] AH00456: Server built: Apr 20 2012 19:24:55
[Mon Nov 05 23:00:38.245339 2012] [core:notice] [pid 7072:tid 512] AH00094: Command line: 'C:\\PROGRA~2\\EASYPH~1.1\\Apache\\bin\\apache.exe -d C:/Program Files (x86)/EasyPHP-12.1/apache'
[Mon Nov 05 23:00:38.264340 2012] [mpm_winnt:notice] [pid 7072:tid 512] AH00418: Parent: Created child process 8184
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host2.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host2.example.com] does not exist
[Mon Nov 05 23:00:39.525412 2012] [mpm_winnt:notice] [pid 8184:tid 524] AH00354: Child: Starting 64 worker threads.