Add Comment
|
Related Links
|
TrackBack
PHP 5 can't find curl.soSo, 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 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 Try and run "aptitude install php5-curl" see if that will help. Danny Asmussen Thanks for the tip. I will try that. Chieh Cheng Hey Danny Lars Hessellund
Add Comment
|
Related Links
|
TrackBack
Did your message disappear? Read the Forums FAQ. Add CommentSpam Control | * indicates required field TrackBackTrackBack 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
67 Users Online
|
Copyright © 2004 - 2024. All Rights Reserved. |