NYCPHP Meetup

NYPHP.org

[nycphp-talk] What does PHP use to find programs that are exec'ed?

Andrew Yochum andrew at plexpod.com
Thu Jun 23 11:27:00 EDT 2005


On Thu, Jun 23, 2005 at 09:34:39AM -0400, Jayesh Sheth wrote:
> Shouldn't exec() be able to run any executable on the system with a full
> path, or are there some other requirements for that executable?

You should check out the various safe mode features.  They can restrict
such things and are possibly getting in your way:
	http://us4.php.net/features.safe-mode

Specifically you might check out open_basedir as it is not dependent on
whether safe mode is on or off IIRC.

HTH,
Andrew

-- 
Andrew Yochum
Plexpod
andrew at plexpod.com
718-360-0879



More information about the talk mailing list