httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ras...@lerdorf.on.ca (Rasmus Lerdorf)
Subject Re: trouble with popen()
Date Thu, 03 Sep 1998 20:54:07 GMT
> This might seem trivial, but I'm having problems popen()'ing (it returns
> NULL) either from a module or using PHP.
> 
> Am I overlooking something? PHP is compiled in non-safe mode, but when I
> started trying to figure why PHP doesn't work I remember when I had
> problems doing that in my apache module..
> 
> Using Apache 1.2.6/PHP 3.0.3/FreeBSD 2.2.7R

Do you mean the user-level popen() function in PHP?  It should work ok.
Are you sure you are not hitting a permission issue?  ie. if you try to
run the same command from the shell as your web server user id, does it
work?

-Rasmus


Mime
View raw message