Windows Wamp installation Oci8 + Oracle

Source: Internet
Author: User

  1. Load LoadModule fcgid_module modules/mod_fcgid.so
  2. 编辑php.ini:
    Date.timezone = Asia/shanghai
    ; extension = Php_oci8_11g.dll this comment is deleted
  3. Add Options Indexes followsymlinks execcgi in the Apache web directory
    execcgi...</directory>
  4. 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

  5. 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>

  6. Turn on Apache redirection module
  7. Http://www.oracle.com/technetwork/articles/technote-php-instant-084410.html

Windows Wamp installation Oci8 + Oracle

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.