Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: "Christoph M. Becker" Newsgroups: comp.lang.php Subject: Re: help with mod-curl Date: Thu, 27 Nov 2014 21:57:17 +0100 Organization: solani.org Lines: 30 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1417121829 22894 eJwNyskBwDAIA7CVSjCHxwkU9h+h1VumLt4BN4etbclmhFFwlzfzrfOo1hbB/F9z+sDGMQINfhlEEME= (27 Nov 2014 20:57:09 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Thu, 27 Nov 2014 20:57:09 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 X-User-ID: eJwNxcEBwCAIA8CVQCDScYTI/iPY+1wYFL0dAY+JWUuAI1vD+394pfOrZB6WsZSuYxx4X1DrARnGEbA= In-Reply-To: Cancel-Lock: sha1:Akr4+OPY3Nv1EnPXC1zIjDH4DSo= X-NNTP-Posting-Host: eJwFwYEBwDAEBMCVCK9vHKT2HyF3sNCYzwPhWOxIr16BpNUa//HMMha3Nw/QlCne4DEN0h4jlhDf Xref: csiph.com comp.lang.php:14660 Jerry Stuckle wrote: > On 11/27/2014 2:43 PM, bill wrote: >> I just built a new server and all is well except it appears that curl is >> not supported. >> apt-get reports that "curl is already the newest version" >> phpinfo does not show curl as a module >> I tried php5enmod curl and got: >> WARNING: Module curl ini file doesn't exist under /etc/php5/mods-available >> >> I know I am missing a step. >> >> bill > > This looks to be a problem with your distro's packaging system, not PHP. > You should be asking in your distro help. > > Depending on your packaging system, the PHP interface to curl may be in > a different package than curl itself. Good catch, Jerry. Bill, did you try: apt-get install php5-curl (Don't forget to restart the server afterwards.) -- Christoph M. Becker