Re: Pear Installation Problem - Ubuntu
| From: | Stephen | Date: | Wed, 05 Mar 2008 19:12:15 +0000 |
| Subject: | Re: Pear Installation Problem - Ubuntu | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271046@lists.php.net to get a copy of this message | ||
Daniel Brown wrote:
On Wed, Mar 5, 2008 at 12:59 PM, Stephen <stephen-d@rogers.com> wrote:I don't think that it is that simple. The /usr/share/php/PEAR directory does not include the HTML directory or the QuickForm.php file. It looks like I have to run some kind of install process for PEAR. Docs to read. Thanks StephenMy LAMP is on Ubuntu 7.10[snip!]Fatal error: require_once() [function.require]: Failed opening required 'HTML/QuickForm.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/stephen/www/roissy.ca/public_html/quotesForm.php on line 3[snip!]But there is no /usr/share/pear directory. I have a /usr/share/php/PEAR and it has things that look like installation files.[snip!]Can anyone help me figure out how to get the installation fixed?Update your php.ini to add /usr/share/php/PEAR to the includepath, and remove /usr/share/php/pear if it's in there. Then restart Apache (service httpd stop;service httpd startssl) and you should be good to go.