Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PEAR/Pyrus installation

Tags:

php

pear

pyrus

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?
like image 892
sumit Avatar asked Feb 14 '26 06:02

sumit


1 Answers

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.

like image 193
Tomer Avatar answered Feb 16 '26 19:02

Tomer