标签:
编辑php.ini
:<Directory "c:/Apache24/htdocs"> ... Options Indexes FollowSymLinks ExecCGI ... </Directory>
FcgidInitialEnv PATH "E:/Program Files (x86)/instantclient_11_2;E:/Program Files/wamp/bin/php/php5.5.12;\
C:/WINDOWS/system32;C:/WINDOWS;C:/WINDOWS/System32/Wbem"
FcgidInitialEnv SystemRoot "C:/Windows"
FcgidInitialEnv SystemDrive "C:"
FcgidInitialEnv TEMP "C:/WINDOWS/Temp"
FcgidInitialEnv TMP "C:/WINDOWS/Temp"
FcgidInitialEnv windir "C:/WINDOWS"
FcgidIOTimeout 64
FcgidConnectTimeout 16
FcgidMaxRequestsPerProcess 1000
FcgidMaxProcesses 50
FcgidMaxRequestLen 8131072
# Location php.ini:
FcgidInitialEnv PHPRC "E:/Program Files/wamp/bin/php/php5.5.12" //php目录
FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 1000
<Files ~ "\.php$>"
AddHandler fcgid-script .php
FcgidWrapper "E:/Program\ Files/wamp/bin/php/php5.5.12/php-cgi.exe" .php // php-cgi的执行文件目录,注意:目录如果有空格,在空格前添加右斜线\
</Files>
标签:
原文地址:http://www.cnblogs.com/yezongyang/p/5597463.html
http://www.oracle.com/technetwork/articles/technote-php-instant-084410.html