Solved

Problems with OCI8

Posted on 2014-03-06
4
209 Views
Last Modified: 2014-03-07
Hi,

I am following these instructions:

http://naveensnayak.wordpress.com/2012/09/17/connection-from-php-to-oracle-database-using-oci8-on-ubuntu-with-oracle-instant-client-and-sdk/

in step 11, i got the following : pecl command not found,

what I can do with that?

I am using ubuntu 12.04 LTS
0
Comment
Question by:joyacv2
  • 2
4 Comments
 
LVL 21

Accepted Solution

by:
Amitkumar Panchal earned 500 total points
ID: 39911666
You will need to download oracle extension from http://pecl.php.net/package/oci8.

For more information refer http://www.mkfoster.com/2009/01/04/how-to-install-a-php-pecl-extensionmodule-on-ubuntu/

In the link mentioned above, step 10 is mentioned. Then couple of other commands are there. Then commnd for step 11 is mentioned.  Seems, some of the steps missing and changed the installation due to new versions of software/OS. But you can give it a try here.

Hope this helps.
0
 
LVL 1

Author Comment

by:joyacv2
ID: 39912326
ok, I will try and let you know, thanks!
0
 
LVL 109

Expert Comment

by:Ray Paseur
ID: 39912351
From the "horse's mouth" so to speak:
http://php.net/manual/en/book.oci8.php
0
 
LVL 1

Author Closing Comment

by:joyacv2
ID: 39912863
exactly what i need!!!! Thanks!!!!
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

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.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

832 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