Re: Pear Installation Problem - Ubuntu

From: Date: Wed, 05 Mar 2008 18:10:24 +0000
Subject: Re: Pear Installation Problem - Ubuntu
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-271040@lists.php.net to get a copy of this message
On Wed, Mar 5, 2008 at 12:59 PM, Stephen <stephen-d@rogers.com> wrote: > My 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 include path, 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. -- </Dan> Daniel P. Brown Senior Unix Geek <? while(1) { $me = $mind--; sleep(86400); } ?>

« previous php.general (#271040) next »