LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-06-2010, 09:54 AM   #1
goethe
LQ Newbie
 
Registered: Jun 2010
Posts: 1

Rep: Reputation: 0
php compilation with oci8 gone wrong


hi there,
I have installed apache and oracle 10g R2 and I have compiled php with
oci8. After compilation it seems to work fine and my application can connect to oracle database server. But when I reboot my system and browse the same application it gives me " problem connecting to x.x.x.x server".
and then If i again compile my php with oci8 then it again works fine. This scenario goes on and on and on

please help me if there is anyone who knows this problem
Thank you
 
Old 06-06-2010, 01:44 PM   #2
harry edwards
Member
 
Registered: Nov 2007
Location: Lincolnshire, UK
Distribution: CentOS, Fedora, and Suse
Posts: 365

Rep: Reputation: 48
Have you got your environment variables set correctly e.g. ORACLE_HOME and LD_LIBRARY_PATH. It may be that the recompilation set these, then, they are lost and not set after a reboot.

I'd check the output of phpinfo(), both, before and after the reboot.
 
  


Reply

Tags
compilation, oci8, php


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian AMD64 Oracle 10g XE and PHP OCI8 he_the_great Linux - Software 0 01-24-2009 12:32 PM
Trouble installing OCI8 support w/ PHP Apache nathank Linux - Server 1 06-15-2007 06:43 AM
how to configure php-5.1.4 with oci8 for Oracle9i jimmyjiang Red Hat 2 11-10-2006 07:53 AM
php with oci8 nightmare mariogomide Programming 1 01-31-2006 10:51 PM
Help with OCI8/PHP APACHE on Redhat enterprise AS 3.0 pdave Linux - Software 0 07-21-2004 10:12 AM


All times are GMT -5. The time now is 02:33 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration