note 38115 added to function.exec

From: Date: Tue, 09 Dec 2003 00:23:39 +0000
Subject: note 38115 added to function.exec
Groups: php.notes 
Request: Send a blank email to php-notes+get-61666@lists.php.net to get a copy of this message
I have a virtual private server through Verio and was having the hardest time getting exec("php somefile.php"); to work. Finally I learned that I needed to put and absolute path the php executable in for it to work. exec("/usr/local/bin/php somefile.php"); finally worked. ---- Manual Page -- http://www.php.net/manual/en/function.exec.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38115 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38115&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38115&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#61666) next »