FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » cURL
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: cURL [message #180244 is a reply to message #180243] Sat, 02 February 2013 16:43 Go to previous messageGo to previous message
J.O. Aho is currently offline  J.O. Aho
Messages: 194
Registered: September 2010
Karma:
Senior Member
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


>> so I copied the curl.so from the development server to the
>> production server.
>>
>> no joy. When I invoke php I get the error:
>> PHP Warning: PHP Startup: Unable to load dynamic library
>> '/usr/lib/php5/200090626/curl.so' -
>> '/usr/lib/php5/200090626/curl.so: wrong ELF class: ELFCLASS32 in
>> Unknown on line 0

> Yeah, the production server is 65bit, development 32 bit. - I think
> ]bill




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).

--

//Aho
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Formatting a number
Next Topic: How to get data for website pages..
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 03:23:08 GMT 2024

Total time taken to generate the page: 0.04295 seconds