Hi guys, some of you need to know about setting up your PHP on Fedora 15 to beable to be used to query Oracle database.
Here is the steps:
1. Make sure your "php-devel" package has been installed along with the dependencies. (Use Yum installation if you are not sure)
2. Install "instantclient-basic" and "instantclient-devel" from Oracle site.
note: Choose the .rpm type of files and install them using "yum install local ...rpm"
3. Find and get the oci8 source file from:
http://pecl.php.net/package/oci8 (ie : oci8-1.4.5.tgz)
4. Extract the file at "/usr/lib/oracle/<VERSION>"
5. From command window, go to the extracted directory and type:
"./configure --with-oci8=shared,instantclient,usr/lib/oracle/<VERSION>/client/lib"
6. Make
7. Make install
8. Add library shared object for PHP
echo extension=oci8.so > /etc/php.d/oci8.ini
9. Restart the server
Setting up php OCI8 on Fedodra 15
Published with Blogger-droid v2.0.2
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment