Thursday, April 17, 2008

Installing Pear in Plesk Linux

Here are the steps
1. Download Pear
2.Change the php include path in the subdomain ( vhost.conf )

Downloading Pear
1. Create a directory in /usr/share/php
2. CD into /us/share/pear
3. Download go-pear script at http://pear.php.net/go-pear

wget http://pear.php.net/go-pear
cp go-pear go-pear.php
php -q go-pear.php

4. Follow the instructions
5. Now if you include PEAR in your application, PHP open base dir problem will occur, to solve it, follow my tips at here.

No comments: