Please Help - Environment variables

From: Date: Mon, 09 Oct 2000 18:46:20 +0000
Subject: Please Help - Environment variables
Groups: php.general 
Request: Send a blank email to php-general+get-19224@lists.php.net to get a copy of this message
Put the variables inside the rc script that starts the webserver. Danny --- >Hello all. > >Running a php script from command line, it connects and disconnect from an >Informix Database Server. >If I try to run the same script from the web, it returns the following >error. > Warning: ifx_connect : E [SQLSTATE=IX 001 SQLCODE=-1829] > in /home/httpd/html/phpindex.php on line 10 > >This error is the same if I do 'export INFORMIXDIR=' and execute the script >from the command line. >Viewing the variables from inside the script, i've found that INFORMIXDIR >and INFORMIXSERVER are unset, and PATH does'n include $INFORMIXDIR/bin > >How can I pass this variables to the script ?

« previous php.general (#19224) next »