Re: Pear layout questions
| From: | Alan Knowles | Date: | Tue, 20 Apr 2004 05:22:28 +0000 |
| Subject: | Re: Pear layout questions | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11960@lists.php.net to get a copy of this message | ||
I do something similar
http://devel.akbkhome.com/pearball.tar.gz
makes a folder called pear, I just untar that into my application folder when I install it.. and make sure this gets added somewhere in my app.
ini_set('include_path',
include(dirname(__FILE__).'/pear' . PATH_SEPERATOR .
ini_get('include_path');
);
- my normal user account installs into the source folder for that tarball..
pear config-set php_dir /var/www/pear
Regards
Alan
Chris wrote:
I want to move to pear for some of my development/consulting needs. I have only been exposed to pear for a script that I myself purchased, so I am not that familiar with it. I know that pear is already installed on my server, but I cannot speak for future clients. I would like to be able to give my customers a zip file with my script and all the needed pear modules. I've looked over the documentation and I did not see anything touching on this. What is an effective directory setup for this? Does this seem acceptable? PEAR --DB --HTTP --SOAP --NET --etc Thanks Chris-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com