[horde] pear trouble during installation of Horde on OpenBSD 3.3
Renegade Rhythms
renegade_rhythms at yahoo.com
Wed Sep 17 14:53:36 PDT 2003
Hello,
I am trying to install Horde and I'm having some trouble. Horde doesn't recognize
that I have PEAR installed. Here is what my test.php is statging:
Horde Versions
* Horde: 2.2.4
PHP Version
* View phpinfo() screen
* PHP Version: 4.2.3
* PHP Major Version: 4.2
* PHP Minor Version: 3
* PHP Version Classification: release
* You are running a supported version of PHP.
PHP Module Capabilities
* DOM XML Support: Yes
* FTP Support: Yes
* Gettext Support: Yes
* IMAP Support: Yes
* LDAP Support: Yes
* MCAL Support: No
* Mcrypt Support: Yes
* MySQL Support: Yes
* PostgreSQL Support: Yes
* XML Support: Yes
Miscellaneous PHP Settings
* magic_quotes_runtime disabled: Yes
* file_uploads enabled: Yes
* safe_mode disabled: Yes
* trans_sid disabled: Yes
PHP Sessions
* Session counter: 1
* To unregister the session: click here
PEAR
* PEAR - No
* Check your PHP include_path setting to make sure it has the PEAR library directory.
* Recent PEAR - No
* Mail - No
* Log - No
* DB - No
* Net_Socket - No
* Date - No
* HTML_Common/HTML_Select - No
****
I have installed PEAR, here is how I did it:
orbit# lynx -source http://go-pear.org | php
Welcome to go-pear!
Go-pear will install the 'pear' command and all the files needed by
it. This command is your tool for PEAR installation and maintenance.
Go-pear also lets you download and install the PEAR packages bundled
with PHP: DB, Net_Socket, Net_SMTP, Mail, XML_Parser, phpUnit.
If you wish to abort, press Control-C now, or press Enter to continue:
HTTP proxy (http://user:password@proxy.myhost.com:port), or Enter for none::
Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.
1. Installation prefix : /usr/local
2. Binaries directory : $prefix/bin
3. PHP code directory ($php_dir) : $prefix/share/pear
4. Documentation base directory : $php_dir/docs
5. Data base directory : $php_dir/data
6. Tests base directory : $php_dir/tests
1-6, 'all' or Enter to continue:
The following PEAR packages are bundled with PHP: DB, Net_Socket, Net_SMTP,
Mail, XML_Parser, phpUnit.
Would you like to install these as well? [Y/n] : y
Loading zlib: ok
Downloading package: PEAR.............ok
Downloading package: Archive_Tar......ok
Downloading package: Console_Getopt....ok
Downloading package: XML_RPC..........ok
Bootstrapping: PEAR...................(remote) ok
Bootstrapping: Archive_Tar............(remote) ok
Bootstrapping: Console_Getopt.........(remote) ok
Downloading package: DB...............ok
Downloading package: Net_Socket.......ok
Downloading package: Net_SMTP.........ok
Downloading package: Mail.............ok
Downloading package: XML_Parser.......ok
Downloading package: phpUnit..........ok
Extracting installer..................ok
install ok: PEAR 1.2.1
install ok: Archive_Tar 1.1
install ok: Console_Getopt 1.0
install ok: XML_RPC 1.0.4
install ok: DB 1.5.0RC2
install ok: Net_Socket 1.0.1
install ok: Net_SMTP 1.2.3
install ok: Mail 1.1.2
install ok: XML_Parser 1.0.1
install ok: PHPUnit 1.0.0-alpha1
******************************************************************************
WARNING! The include_path defined in the currently used php.ini does not
contain the PEAR PHP directory you just specified:
</usr/local/share/pear>
If the specified directory is also not in the include_path used by
your scripts, you will have problems getting any PEAR packages working.
Would you like to alter php.ini </var/www/conf/php.ini>? [Y/n] : y
php.ini </var/www/conf/php.ini> include_path updated.
Current include path : .:/usr/local/lib/php
Configured directory : /usr/local/share/pear
Currently used php.ini (guess) : /var/www/conf/php.ini
Press Enter to continue:
The 'pear' command is now at your service at /usr/local/bin/pear
orbit# pear install Log
downloading Log-1.7.0.tgz ...
...done: 14,384 bytes
install ok: Log 1.7.0
orbit# pear install Mail_Mime
downloading Mail_Mime-1.2.1.tgz ...
...done: 15,268 bytes
install ok: Mail_Mime 1.2.1
orbit#
***
If you check my php.ini, horde is listed:
;***** Added by go-pear
include_path=".:/usr/local/share/pear"
;*****
****
Does anyone know what is happening here? As far as I can tell, i've installed and configured
PEAR as required, but the test.php doesn't recognize that it is there. I have stopped and started
the web server but no change. Any help?
Thanks,
Dave
=====
-------------------------------------------------------------
Renegade Rhythms email: info at RenegadeRhythms.com
Exploring the Inner Dimensions of Sound http://www.RenegadeRhythms.com
Live House and Techno Webcasts every Wed. and Sat.
-------------------------------------------------------------
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
More information about the horde
mailing list