Solved

Setting Oracle from WAMP

Posted on 2011-03-14
7
533 Views
Last Modified: 2013-12-13
Hello Experts,

I have installed WAMP on my local desktop and also downloaded phporacleview and kept the folder under WWW path.

Now I have a local database i.e. Oracle version 10.2.0.

Now I want to use phporacleview as similar to myphpadmin for MYSQL database.

Please help me in setting php page to Oracle.

0
Comment
Question by:swadhinray
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 15

Expert Comment

by:Insoftservice
ID: 35136139
hi,
u mean to say that u want to quit mysql and instead of that u want to use oracle.
please confirm
0
 
LVL 2

Author Comment

by:swadhinray
ID: 35136327
Yes..
0
 
LVL 8

Assisted Solution

by:fundacionrts
fundacionrts earned 250 total points
ID: 35136986
You need to install InstantClient in your local desktop to enable communication between php and oracle.

Basically, the steps to install InstantClient on your desktop are

1. Download instantclient-basic-win32-10.2.0.4.zip from www.oracle.com
2. Unzip this file in c:\instantclient (or other folder you want)
3. Create file tnsnames.ora in folder c:\instantclient
4. Configure  tnsnames.ora as you need.
5. My Computer > Properties > Advanced options > Environment variables > System variables
   5.1 Modify PATH and set value c:\instantclient;<CURRENT_PATH_VALUE>
   5.2 Create TNS_ADMIN and set value c:\instantclient\tnsnames.ora
6. Edit php.ini and uncomment
extension=php_oci8.dll
7. Restart Apache

At this time, you can acces Oracle using php/apache.

I hope this instructions help you.

Link to detailed instructions: http://www.oracle.com/technetwork/articles/technote-php-instant-084410.html
   5.1 Create variable TNS_ADMIN and set value c:\instantclient\tnsnames.ora
0
 
LVL 2

Author Comment

by:swadhinray
ID: 35143675
I have done all the 7 steps now how can I log in to oracle through phporacleview.

Attaching the phporacleview file that I have downloaded.

there is a file "db_oracle.inc" where I need to provide the DB details along with that I need to provide the path, so which path I need to give there ?

Instant client path or oracle home path?

or just let me know how to do the settings.
0
 
LVL 17

Accepted Solution

by:
kadadi_v earned 250 total points
ID: 35340385
Please Check this PHP + Oracle Database Connection Strings

http://blogs.oracle.com/alison/2006/04/oracle_database_connection_str.html

Regards,
vijay kadadi
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
The viewer will learn how to count occurrences of each item in an array.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question