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


Groups > comp.lang.php > #8178

Re: cURL

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php
Subject Re: cURL
Date Sat, 02 Feb 2013 17:43:17 +0100
Lines 40
Message-ID <an4u15Fdci4U1@mid.individual.net> (permalink)
References <kejac0$69j$1@speranza.aioe.org> <keje5b$hlm$1@speranza.aioe.org> <kejeuo$jnu$1@speranza.aioe.org>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net SDGTHXwbuZkX0sAo3djtkwK+9Z77h4x8M4x6O7KjwGdm49Tns/3La1/q+ZY/X+F6hw
Cancel-Lock sha1:Elh57oBs0hh5yMAWZ/gUjNDh30I=
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15.1
In-Reply-To <kejeuo$jnu$1@speranza.aioe.org>
Xref csiph.com comp.lang.php:8178

Show key headers only | View raw


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

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


Thread

cURL bill <william@TechServSys.com> - 2013-02-02 10:11 -0500
  Re: cURL bill <william@TechServSys.com> - 2013-02-02 10:14 -0500
  Re: cURL - resolved bill <william@TechServSys.com> - 2013-02-02 10:53 -0500
  Re: cURL bill <william@TechServSys.com> - 2013-02-02 11:16 -0500
    Re: cURL bill <william@TechServSys.com> - 2013-02-02 11:30 -0500
      Re: cURL "J.O. Aho" <user@example.net> - 2013-02-02 17:43 +0100
        Re: cURL bill <william@TechServSys.com> - 2013-02-02 12:21 -0500

csiph-web