On Thu, April 7, 2005 11:54 am, cragland said:
> I've encountered the same problem with exec(curl, system(curl, etc.  PHP
> exits with sh: \curl: No file or directory.  I'm wondering if there is
> some php shell option that has to be set.

Use full path names for EVERYTHING in exec.

If curl, as I suspect, needs access to some kind of storage for .SSH keys,
Cookies, etc, then the PHP User needs that access.

Why not just use http://php.net/curl

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to