Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 14th July 2007, 07:46
alvarso alvarso is offline
Junior Member
Join Date: Jul 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default *Adding* OCI8 to existing PHP/Apache on Debian


I inherited a system (as part of a student group at MIT), which already had installed (using apt):
- Debian 4.0 (/etc/debian_version)
- Apache 2.2.3 (apache2 -v)
- PHP 5.2.0-8+etch1 (php -i)
- MySQL Ver 14.12 Distrib 4.0.32 (mysql --help)

I need to *add* the Oracle "Instant Client" to it, while maintaining all the exiting modules that have been installed, including (important) MySQL.

I already read (and re-read) tons of instructions, including those at:
and the note from cj at the bottom of that page:

I have followed all the links, and have the Oracle ZIPs ready.

My problem/issue:

- I am not a Linux/Debian expert... I have a clue, but not tons.
- All prior installations, as mentioned above, were done with apt by someone else (who graduated already!)
- Therefore, the source is NOT in the computer, it has always been compiled from elsewhere -- as such, I do not know what the ./configure options were
- I know that both the apache modules and the cli modules have been installed; I nee OCI8 support in both the apache and the cli (so that I can cron tasks without exposing them to the outside world)
- I am worried about not re-building PHP with all the existing options, and that after I rebuild PHP with the OCI8 on it, I will be missing something.

So, I would greatly appreciate if someone can guide me on how to make sure I run ./configure correctly from the source so that I don't end up without an existing module... or even better, if there exists an "unstable" but working apt OCI8 module with which I can add OCI8 functionality to both the Apache and the CLI php's. (I was not able to find an apt module to install the OCI8 "incrementally" on what is already there.)

I hope this makes sense. I'll be happy to provide a link to a temporary phpinfo.php page if that's needed.

Sorry for the long post, I tried to provide as much information as I could (even if its not all details).

Thank you!

Reply With Quote
Sponsored Links
Old 15th July 2007, 14:01
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts

Maybe you can download the PHP source package and rebuild it with OCI8 support. An example of how to rebuild source packages on Debian can be found in chapter 3 on http://www.howtoforge.com/virtual_us...ix_debian_etch
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help me whit bind9 astra2000 Server Operation 12 10th October 2007 03:43
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 01:57
iptables issue with xen perfect setup - debian alexnz HOWTO-Related Questions 3 25th November 2006 14:49
xen not booting qiu HOWTO-Related Questions 11 2nd May 2006 11:20
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 15:42

All times are GMT +2. The time now is 19:15.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.