skip to Main Content

I am installing Pyrus on my CentOS server by using the following command:

$ php pyrus.phar install PEAR2_Pyrus

I am getting an error:

The sqlite3 extension is required.
You must compile PHP with sqlite3 enabled, or install the necessary extension for your distribution.

Since the PHP 5.3 was installed by Plesk control panel itself, I am not sure how to install Pyrus now. Please help!

  1. What is sqlite3 extension?
  2. How to install it?

2

Answers


  1. I had the same problem. sqlite3 might be already installed on your system.
    You can enable it by adding this line to the end of your php.ini file:

    extension=php_sqlite3.dll
    

    The file php_sqlite3.dll should be in the /ext directory if it is installed.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search