What I do: I am making a website in PHP, I want to use Oracle as a database (do not ask why ... Why not?)
Question: What do I need to do, install, configure, so that I can call methods from PL / SQL from PHP and access the database? The simplest words, please!


What did you do:
1) Download and install Oracle DataBase 12c enter image description here

2) I downloaded OpenServer 5.2.8, set Apache 2.2 + PHP 5.3 in the settings (why so? I saw some instructions)

3) Install the Instant Client, but it is written everywhere that it is not needed for a local connection (I have a base server on 1 computer)

As a result, I caught errors:

  • 1) ORA-12541: TNS: no listener error
  • 2) Call to undefined function oci_connect ()
  • 3) Then the base stopped running

Can anyone have a tutorial on how to do everything right ... I suffer for 3 days

    0