Re: Pear Installation Problem - Ubuntu
| From: | Wolf | Date: | Wed, 05 Mar 2008 19:29:12 +0000 |
| Subject: | Re: Pear Installation Problem - Ubuntu | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-271047@lists.php.net to get a copy of this message | ||
> > [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.
> >
>
> 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.
Open a terminal window on the server
at the prompt type:
locate QuickForm.php
If it comes back with the path/file, make sure the path to the file is in the include folder
If it comes back to just a regular terminal prompt right away, then you need to install it.
The following is what you get when it is NOT located:
~$ locate Quickform.php
~$
You could also run the following:
~$ pear list
Installed packages, channel pear.php.net:
=========================================
Package Version State
Archive_Tar 1.3.2 stable
Auth 1.5.4 stable
Cache 1.5.5RC4 beta
Console_Getopt 1.2.2 stable
Date 1.4.6 stable
File 1.3.0 stable
HTTP_Request 1.4.1 stable
Image_Canvas 0.2.2 alpha
Image_Graph 0.7.1 alpha
Log 1.9.11 stable
Net_CheckIP 1.2.1 stable
Net_DIME 0.3 beta
Net_FTP 1.3.2 stable
Net_LDAP 0.7.2 beta
Net_Sieve 1.1.5 stable
Net_SmartIRC 1.0.0 stable
Net_URL 1.0.14 stable
PEAR 1.5.4 stable
SOAP 0.10.1 beta
Services_Weather 1.4.2 stable
Structures_Graph 1.0.2 stable
XML_Serializer 0.18.0 beta
XML_Util 1.1.4 stable
HTH,
Wolf