You are here: php-oracle variable error « All PHP « IT news, forums, messages
php-oracle variable error

Posted by *Davide* on 01/16/07 08:26

Hello to all,
I use PEAR-PHP-Oracle, the version of PHP is 5.0.4 ( I know that there are
several bugs using this version of PHP combined with Oracle 9.0.1, but for
now it's not possible to update the version of PHP)
I have this strange error:

I create a script:
echo "ORACLE_HOME=".$_ENV['ORACLE_HOME'] . "<BR>";
echo "LD_LIBRARY_PATH=".$_ENV['LD_LIBRARY_PATH'] . "<BR>";
echo "_ENV=".$_ENV['PATH'] . "<BR>";

These variables values at the beginning are correct.
Several times, these values are empty, but if I see all the values with
phpinfo() they are correct.
The web admin should restart the apache service and all is ok for hours, but
after some time the error will be repeated.

I read this article:
http://www.thescripts.com/forum/thread3634.html
It's correct, in fact the variables are not set, but who change the values?
It's impossible that a script changes the value for all the sessions.
Have you any idea?


Thank

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация