PDO connected to Oracle times wrong

Source: Internet
Author: User
has been developed on its own PC and is now being transferred to the server. After the program is copied to the server, an error occurred while creating the PDO object, reported could not find driver. Check the php.ini can open all open, and even later put my own PC on the server, or not. After checking the phpinfo, my own PC PDO driver has enabled the OCI, but there is no on the server, forget what else to do. Hope Big God hint ...


Reply to discussion (solution)

Installing the Oracle Client

Add that Oracle is not installed on the server. Is it necessary to install the client?

No matter where the Oracle server is, you need to install a client to

So where's your oracle? On your PC?
Do not shut down the machine?

No matter where the Oracle server is, you need to install a client to

So where's your oracle? On your PC?
Do not shut down the machine?

Well.. The client is under. My Oracle on my PC Ah, shut down what do you mean .... Normal off Ah ...

Installing the Oracle Client


Brother, can I have instantclient_11_2 on hand? How does this thing work? I was just referencing the folder when I was using Plsql.

I follow my PC, the instantclient_11_2 below three o start DLL file copied to Apache/bin, now in Phpinfo-pdodrivers, can see the OCI, change the hint TNS no listener 12541 wrong.

Oracle is on your PC and is applied on the server.
Have you turned off the PC and the application on the server will work?

Instantclient_11_2 is the client installation program? Run it all the way to confirm it.

Can't copy files like you, because it's related to the registry
TNS No listener 12541 is monitoring not started
You don't have an Oracle server, how do you listen?

I don't know where Oracle came from, and now the Oracle Big Client version of the CD is easy to download. There's everything inside.

Oracle is on your PC and is applied on the server.
Have you turned off the PC and the application on the server will work?

Instantclient_11_2 is the client installation program? Run it all the way to confirm it.

Can't copy files like you, because it's related to the registry
TNS No listener 12541 is monitoring not started
You don't have an Oracle server, how do you listen?

I don't know where Oracle came from, and now the Oracle Big Client version of the CD is easy to download. There's everything inside.


PC is not off, both are open, I this program is not always hanging, just use once. Oracle's client is also on the same note. My PC local Run this program is no problem, PC installed is oracle11g+instantclient_11_2+plsql, from the official website. It was so annoying, it was a long time.
  • 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.