note 46551 added to ref.exec
| From: | php-general at lists dot php dot net | Date: | Fri, 15 Oct 2004 07:21:10 +0000 |
| Subject: | note 46551 added to ref.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-78573@lists.php.net to get a copy of this message | ||
OK so I'm a new-to-linux developer.....
I can get my ImageMagick prog to run in SSH and have tried the example above by referencing the exe
directly but still nothing. I have tried giving the file all the permissions I can and still
nothing.
Oh I am also new to php so here it what I have in the php file:
<?php
exec('/usr/bin/X11/convert shopfront.jpg shopfront.gif');
?>
Any ideas on what I need to do to get this to work?
----
Manual Page -- http://www.php.net/manual/en/ref.exec.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46551
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46551&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+46551&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+46551&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+46551&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+46551&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+46551&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46551&report=yes
Search -- http://master.php.net/manage/user-notes.php