Re: PHP EXEC();

From: Date: Fri, 13 Sep 2002 03:25:50 +0000
Subject: Re: PHP EXEC();
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-116231@lists.php.net to get a copy of this message
Doug Kozar writes:
Does anyone know why the following script will not rebuild one of my sendmail databases? <? exec('/usr/sbin/makemap hash /etc/mail/virtusertable.db < /etc/mail/virtusertable'); exit; ?>
Check your httpd logs. I'd be willing to bet it's a permissions issue as httpd's usually aren't run as root (unless you're crazy ;) -jesse

« previous php.general (#116231) next »