RE: [PHP] unable to execute external program

From: Date: Thu, 13 Jan 2005 15:12:35 +0000
Subject: RE: [PHP] unable to execute external program
Groups: php.general 
Request: Send a blank email to php-general+get-206290@lists.php.net to get a copy of this message
[snip] I've compiled an external program in my linux server. That program creates a pdf file taking a html file as input. when i run it thru the command line its working fine. But when i tried to execute the same command from php with exec() command its not working. Note that from command i'm logged in as root. And i'm using PHP as another user on the same server. Any other suggestions to run a command line commad thru PHP?? [/snip] Is safe mode on? Did you change the ownership/permissions of the external program so that the PHP user could run it?

« previous php.general (#206290) next »