Installation Pyrus on ubuntu 12.10

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
cortazar11
Forum Newbie
Posts: 10
Joined: Mon Nov 14, 2011 1:48 pm

Installation Pyrus on ubuntu 12.10

Post by cortazar11 »

Hello,

I am trying to work with Pyrus on my Ubuntu 12.10.

So, I followed the instructions of pear.php.net:
I downloaded pyrus.phar file but I don't know where should reside. At the moment I placed it in /var/www.

Afterwards, I tried to set where to install packages with
# php /var/www/pyrus.phar mypear /var/www

but I have a notice indicating that I should enable sqlite3 or install the necessary
extensions. So, I enabled sqlite3.extension_dir, but I didn't put any value
with the same notice again.

Someone knows how to install properly pyrus?

Thank you.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Installation Pyrus on ubuntu 12.10

Post by requinix »

Install the php5-sqlite package.
cortazar11
Forum Newbie
Posts: 10
Joined: Mon Nov 14, 2011 1:48 pm

Re: Installation Pyrus on ubuntu 12.10

Post by cortazar11 »

Yes, I did it. I had missed this small detail.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Installation Pyrus on ubuntu 12.10

Post by requinix »

Does "php -m" (command line) or phpinfo() show sqlite is installed?
Post Reply