|
Posted by Richard Lynch on 04/08/05 03:58
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
Navigation:
[Reply to this message]
|