Re: CGI-executable Apache
| From: | Victor | Date: | Mon, 05 Jun 2000 16:48:26 +0000 |
| Subject: | Re: CGI-executable Apache | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1057@lists.php.net to get a copy of this message | ||
Hey, I think I found the problem. You are very correct. When I run it by nobody, it
fails to load gdbm library.
ld.so.1: /opt/apache/bin/php: fatal: libgdbm.so.2: open failed: No such file or
directory
The permissions are set up right though. Although how do you set up LD_LIBRARY_PATH
for NOBODY ??? Any ideas why open would fail?
Rasmus Lerdorf wrote:
> > A perl cgi executable worked fine (not problems at all).
> > I do have another version of PHP compiled into apache, but the extention of the
> > file is .cgi, so that shouldn't matter.
> >
> > Any ideas?
>
> Nope, that should work. Try running it from the command line as user
> nobody.
>
> -Rasmus