Re: Re: CURL running form PHP exec() problem!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux