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


Groups > comp.lang.php > #14653 > unrolled thread

help with mod-curl

Started bybill <william@TechServSys.com>
First post2014-11-27 14:43 -0500
Last post2014-11-27 16:37 -0500
Articles 4 — 3 participants

Back to article view | Back to comp.lang.php


Contents

  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

#14653 — help with mod-curl

Frombill <william@TechServSys.com>
Date2014-11-27 14:43 -0500
Subjecthelp with mod-curl
Message-ID<m57utn$rcc$1@speranza.aioe.org>
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

[toc] | [next] | [standalone]


#14659

FromJerry Stuckle <jstucklex@attglobal.net>
Date2014-11-27 15:33 -0500
Message-ID<m581qn$gem$1@dont-email.me>
In reply to#14653
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.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#14660

From"Christoph M. Becker" <cmbecker69@arcor.de>
Date2014-11-27 21:57 +0100
Message-ID<m58375$mbe$1@solani.org>
In reply to#14659
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

[toc] | [prev] | [next] | [standalone]


#14661

Frombill <william@TechServSys.com>
Date2014-11-27 16:37 -0500
Message-ID<m585il$d9n$1@speranza.aioe.org>
In reply to#14660
On 11/27/2014 3:57 PM, Christoph M. Becker wrote:
> 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.)
>
That did it.
Many thanks

bill

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web