Go2Linux | Linux Operating System

A site dedicated to: Linux Operating System

Unable to load dynamic library '/usr/lib/php/modules/curl.so'

Date: 2011-05-12 00:00:00 -0400

Introduction

While trying to install purge module, in my Drupal site, I got this error while trying to enable the module.

Unable to load dynamic library '/usr/lib/php/modules/curl.so'

That was in my /var/log/messages file.

Unable to load dynamic library '/usr/lib/php/modules/curl.so' | How to solve it

First install the php-curl package, (This is only meant for Arch Linux)

pacman -S php-curl

Then enable the module in the /etc/php/php.ini configuration file, by uncommenting this line.

extension=curl.so

Finally restart apache

/etc/rc.d/httpd restart

Now, you have solved your problem.

If you liked this article please share it.

powered by TinyLetter

If you want to contact me in any other way, please use the contact page.