: Phppdo + oracle installation fails on windows!

Source: Internet
Author: User
For help: phppdo + oracle cannot be installed in windows !? Recently, php is used to connect to oracle, but a problem occurs during installation. you can help install PHPVersion5.2.9 on the oracle client. php is installed with xampp. Php. ini file extension = p for help: php pdo + oracle cannot be installed in windows !?
I recently used php to connect to oracle, but there was a problem during installation. please help me.
Oracle client
PHP Version 5.2.9
These are all installed. php is installed with xampp.
Php. ini file status
Extension = php_pdo.dll
; Extension = php_pdo_firebird.dll
Extension = php_pdo_mssql.dll
Extension = php_pdo_mysql.dll
Extension = php_pdo_oci.dll
; Extension = php_pdo_oci8.dll
; Extension = php_pdo_odbc.dll


Use phpinfo () to view the installation information:

PDO support enabled
PDO drivers mssql, mysql, sqlite2

There is no oci in it!


------ Solution --------------------
What is the oracle version?
Extension = php_pdo_oci8.dll; remove the semicolon before it.
------ Solution --------------------
Where should I put the php_pdo_oci.dll module? I used a windows system, so I put it in javasime32.

------ Solution --------------------
Where should I put the php_pdo_oci.dll module? I used a windows system, so I put it in javasime32.

Try again in windows
------ Solution --------------------
Has the oracle client been introduced to the environment variable? (note that it is the oracle client, not the pdo. dll)
------ Solution --------------------

It should be a simple path problem

Find out where php_pdo_mysql.dll is stored,
Put php_pdo_oci8.dll in the same directory as him.

Don't forget to restart the server

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.