Re: Pear Layout question
| From: | Torsten Roehr | Date: | Mon, 19 Apr 2004 19:41:43 +0000 |
| Subject: | Re: Pear Layout question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183852@lists.php.net to get a copy of this message | ||
>"Chris" <php@cditty.com> wrote in message
news:200404191930.i3JJUp64004202@server1.lcdwebservices.com...
>I asked this on the pear list and haven't received an answer. Hopefully
>someone here can help.
>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
Hi Chris,
look at the require_once statements in the PEAR classes to see which
directories are expected by the packages. But your draft looks OK.
Regards,
Torsten Roehr