You are here: Re: [PHP] Re: CURL running form PHP exec() problem! « PHP « IT news, forums, messages
Re: [PHP] Re: CURL running form PHP exec() problem!

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация