![]() STEP 7: Now you can write your code to connect to Oracle database. Here the hostname is “localhost”, and the database name is “orcl”. (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) ![]() (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) If you dont see the Welcome page, select Help > Welcome. The first time you run Azure Data Studio the Welcome page should open. STEP 6: Open the D:\Oracle11g\product\11.2.0\dbhome_1\network\admin\tnsnames.ora file to check the database name. &0183 &32 Install the Extension for Oracle. STEP 4: To activate the PHP extension, edit the php.ini file and simply remove the semicolon “ ” At the beginning of the line. STEP 2: For Windows (64-bit), download instantclient-basic-windows.圆4-11.2.0.4.0.zip, from this link and extract it to C:\Windows\SysWOW64\instantclient_11_2 and set it to the PATH environment variable STEP 1: First install the WAMP server and Oracle 11g. Just follow the steps to connect Oracle database to a PHP application on Windows platform (64 bits). Instead of using a separate installation of PHP and Apache, we will use the WAMP server here. Here we will use Instant Client to connect Oracle database to our PHP application. This is a very common problem for those using Oracle 11g in Windows (64-bit) with PHP applications that refuse the Oracle database connection. The majority of PHP applications have been developed with Oracle as the default database instead of MySQL. In this tutorial, we are going to see how to connect to Oracle database with PHP.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |