note 44438 added to function.shell-exec
| From: | JamesMcCormack at rn2 dot php dot net | Date: | Thu, 05 Aug 2004 17:50:08 +0000 |
| Subject: | note 44438 added to function.shell-exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-74033@lists.php.net to get a copy of this message | ||
I had a perl program which ran fine from command line but not using shell_exec(), exec() or system()
- nothing was being returned. I was using the full path and permissions were set correctly.
It turned out the perl program was using more memory than my PHP.INI file was set to allow.
Increasing "memory_limit" solved the problem.
----
Manual Page -- http://www.php.net/manual/en/function.shell-exec.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44438
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44438&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44438&report=yes
Search -- http://master.php.net/manage/user-notes.php