LD_LIBRARY_PATH and php

From: Date: Sun, 18 Jul 1999 09:49:20 +0000
Subject: LD_LIBRARY_PATH and php
Groups: php.dev 
Request: Send a blank email to php-dev+get-8675@lists.php.net to get a copy of this message
I would suggest adding the environment variable to the rc script that starts up Apache (/etc/rc.d/init.d/httpd if you are running Rad hat Linux). You could also use ld.so.conf if you are on Linux. Danny. --- >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

« previous php.dev (#8675) next »