-   Linux - Software (
-   -   php compilation with oci8 gone wrong (

goethe 06-06-2010 09:54 AM

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

harry edwards 06-06-2010 01:44 PM

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.

All times are GMT -5. The time now is 12:39 PM.