note 45203 deleted from ref.exec by tomsommer

From: Date: Sun, 31 Oct 2004 12:58:44 +0000
Subject: note 45203 deleted from ref.exec by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-79392@lists.php.net to get a copy of this message
Note Submitter: sijmen at digitized dot nl ---- When you don't get the result from command line calls in PHP, check if the full path to the executable is set. So if this works in SSH convert bla.jpg and doesn't in PHP exec('convert bla.jpg') locate the exact path to the executable in SSH with: whereis convert and use that path in PHP exec("/usr/bin/local/convert bla.jpg"); very basic i know, but it might help not-used-to-linux developers

« previous php.notes (#79392) next »