GearHack

: :

Add Comment | Related Links | TrackBack
Related Content

PHP 5 can't find curl.so

So, I've been running a web server on Ubuntu for a while now. Whenever I run a PHP script on the command-line, I always get the following error message:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20041030/curl.so' - /usr/lib/php5/20041030/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0

It was annoying, but didn't bother me enought to deal with it. But today, I got a bunch of error message in my mailbox. That's because I started running a PHP script in a cron job. That is just too annoying.

So I decided to look in "/usr/lib/php5/20041033". And there is no curl.so. I have no idea what curl.so is. But since I haven't had it from the start, it didn't seem like I was gonna needed. I looked at "php.ini" and noticed the following three lines:

extension=curl.so
extension=gd.so
extension=mysql.so

The last two is definitely in the directory. Just not "curl.so". I remove the "extension=curl.so" line from "php.ini". Now there is no more error messages!

Chieh Cheng
Wed, 20 Jun 2007 02:07:04 -0700

Try and run "aptitude install php5-curl" see if that will help.

Danny Asmussen
Thu, 30 Aug 2007 09:57:28 +0000

Thanks for the tip. I will try that.

Chieh Cheng
Thu, 30 Aug 2007 17:40:18 +0000

Hey Danny
L�nge siden, kan du ikke lige skrive til mig, [email protected]

Lars Hessellund
Wed, 12 Sep 2007 09:31:30 +0000

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

Add Comment

Spam Control | * indicates required field
Your Name: *
E-mail:
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 9 + 2?
Click button only once, please!

TrackBack

TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.

Messages, files, and images copyright by respective owners.


Articles | Wiki
Forums | Latest | RSS
Library | Links | News
Search | Store | Help

67 Users Online



Hacking Digital Cameras
Fun for Photographers

Amazon Associate

Copyright © 2004 - 2024. All Rights Reserved.