Please Help - Environment variables

From: Date: Fri, 06 Oct 2000 17:21:19 +0000
Subject: Please Help - Environment variables
Groups: php.general 
Request: Send a blank email to php-general+get-18949@lists.php.net to get a copy of this message
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 (#18949) next »