- Load LoadModule fcgid_module modules/mod_fcgid.so
编辑php.ini
:
Date.timezone = Asia/shanghai
; extension = Php_oci8_11g.dll this comment is deleted
- Add Options Indexes followsymlinks execcgi in the Apache web directory
execcgi...</directory>
- http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html Download the corresponding Oracle bit version based on the number of wamp digits
- Add at the end of the httpd.conf file
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 directory
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 Execution file directory, note: If the directory has spaces, add a right slash before the space
</Files>
- Turn on Apache redirection module
Http://www.oracle.com/technetwork/articles/technote-php-instant-084410.html
Windows Wamp installation Oci8 + Oracle