Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #14660

Re: help with mod-curl

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" <cmbecker69@arcor.de>
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 <m58375$mbe$1@solani.org> (permalink)
References <m57utn$rcc$1@speranza.aioe.org> <m581qn$gem$1@dont-email.me>
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 <m581qn$gem$1@dont-email.me>
Cancel-Lock sha1:Akr4+OPY3Nv1EnPXC1zIjDH4DSo=
X-NNTP-Posting-Host eJwFwYEBwDAEBMCVCK9vHKT2HyF3sNCYzwPhWOxIr16BpNUa//HMMha3Nw/QlCne4DEN0h4jlhDf
Xref csiph.com comp.lang.php:14660

Show key headers only | View raw


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

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

help with mod-curl bill <william@TechServSys.com> - 2014-11-27 14:43 -0500
  Re: help with mod-curl Jerry Stuckle <jstucklex@attglobal.net> - 2014-11-27 15:33 -0500
    Re: help with mod-curl "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-11-27 21:57 +0100
      Re: help with mod-curl bill <william@TechServSys.com> - 2014-11-27 16:37 -0500

csiph-web