RE: [PHP] unable to execute external program

From: Date: Thu, 13 Jan 2005 15:19:04 +0000
Subject: RE: [PHP] unable to execute external program
Groups: php.general 
Request: Send a blank email to php-general+get-206291@lists.php.net to get a copy of this message
I think you've answered your own question. Check the permissions on the file. Can it be executed by the other user? Is it in the path? What error do you see in the log? ls -l chmod might just be your friends ;-) -----Original Message----- From: Sagar C Nannapaneni [mailto:sagar@rythumithra.com] Sent: 13 January 2005 06:54 To: php-general@lists.php.net Subject: [PHP] unable to execute external program Hi, 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?? /sagar ________________________________________________________________________ This message has been checked for all known viruses by the CitC Virus Scanning Service powered by SkyLabs. For further information visit http://www.citc.it ___ ________________________________________________________________________ This message has been checked for all known viruses by the CitC Virus Scanning Service powered by SkyLabs. For further information visit http://www.citc.it ___

« previous php.general (#206291) next »