LD_LIBRARY_PATH and php
| From: | Andrey Zmievski | Date: | Sat, 17 Jul 1999 19:53:51 +0000 |
| Subject: | LD_LIBRARY_PATH and php | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-8656@lists.php.net to get a copy of this message | ||
Ok, here's an annoying problem that I don't really know how to solve.
I need to run PHP as cgi-bin but when I try to do that, I get this entry in
the error log:
ld.so.1: php: fatal: libttf.so.2: open failed: No such file or directory
[Sat Jul 17 14:51:48 1999] [error] [client 206.131.196.190] Premature end of
script headers: /export/httpd/zend.ispi.net/cgi-bin/php
My guess is that it's not finding the library because of empty
LD_LIBRARY_PATH. But how do I configure that for user nobody?
-Andrey
Everything should be made as simple
as possible, but not simpler.
-Albert Einstein