Re: manual PEAR installation HELP ??? (Please)

From: Date: Thu, 15 Sep 2005 08:45:42 +0000
Subject: Re: manual PEAR installation HELP ??? (Please)
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20978@lists.php.net to get a copy of this message
Bell Creative Inc wrote:
Is there anything that can show me the directory structure of how PEAR should be installed on my server.
What I did was install it on my local machine running Apache, and then uploaded the whole thing to the shared server, and added the 2 lines to the path to the PEAR directory to the include_path using .htaccess -- one for the production server (Unix) and one for my dev machine (Win XP). e.g. php_value include_path .;C:\\Sites\\jrb3\\public_html\\inc\\smarty\\libs;C:\\Sites\\jrb3\\public_html\\inc\\pear\\PEAR #php_value include_path .:/home/jewele6/public_html/inc/smarty/libs:/home/jewele6/public_html/inc/pear/PEAR When I run it locally, I have the second line commented out (as shown here). On the server, the first line is commented, and the second is un-commented. Once you have done that you run go-pear.php in the correct directory (the public_html/inc/pear dir in my example). Note that go-pear.php, pear.conf etc live one level above the actual library directory (/PEAR in my example above), thus the pear/PEAR odd directory structure. HTH -- Max Schwanekamp http://www.neptunewebworks.com/

« previous php.pear.general (#20978) next »