Re: Re: CURL running form PHP exec() problem!
| From: | Richard Lynch | Date: | Fri, 08 Apr 2005 00:58:57 +0000 |
| Subject: | Re: Re: CURL running form PHP exec() problem! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-212608@lists.php.net to get a copy of this message | ||
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