Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #8178
| From | "J.O. Aho" <user@example.net> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: cURL |
| Date | 2013-02-02 17:43 +0100 |
| 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> |
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
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