cURL [message #180239] |
Sat, 02 February 2013 15:11  |
bill
Messages: 310 Registered: October 2010
Karma: 0
|
Senior Member |
|
|
I built two servers and installed 10.04 LTS Ubuntu. Worked fine
I upgraded both to 12.04 LTS Ubuntu.
I just discovered that the production server does not have cURL
support (phpinfo does not have it listed) while the development
server does.
how do I install cURL support on the production server ?
bill
|
|
|
|
|
|
|
|
Re: cURL [message #180245 is a reply to message #180244] |
Sat, 02 February 2013 17:21  |
bill
Messages: 310 Registered: October 2010
Karma: 0
|
Senior Member |
|
|
On 2/2/2013 11:43 AM, J.O. Aho wrote:
> bill wrote:
>> On 2/2/2013 11:16 AM, bill wrote:
>>> On 2/2/2013 10:11 AM, bill wrote:
>>>> I built two servers and installed 10.04 LTS Ubuntu. Worked fine
>>>> I upgraded both to 12.04 LTS Ubuntu.
>>>>
>>>> I just discovered that the production server does not have cURL
>>>> support (phpinfo does not have it listed) while the development
>>>> server does.
>>>>
>>>> how do I install cURL support on the production server ?
>
> ssh to the server and run:
> sudo apt-get install php5-curl
worked like a charm
>
> I recommend you upgrade the development environment to be a copy
> of the live environment, to the package, if you install some
> package on one, then you should install it on the other,
> otherwise you never know what will work in production. A 32bit
> setup isn't the same as a 64bit and avoid of mixing 32bit and
> 64bit binaries (as you tried to do).
>
Heck, I thought they were identical.
Many thanks,
--bill
|
|
|