>   It look like that PHP can't set the environment variable or put in the
> environment variable.  The script I wrote down is ....
>
> putenv("LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH");
> putenv("ODBCINSTINI=/usr/local/bin/odbcinst.ini");
> putenv("ODBCINI=/usr/local/bin/odbc.ini");
>
>   Why does the PHP environment varible doesn't work?  What can I do about
> it?  Does caldera have problem with that?

I think you need to get those Env variables set before PHP starts for some
reason...

Try adding them to the .shrc (or whatever) of your "nobody" user (or
whichever user PHP runs as).

--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to