Re: Pear in user directory
| From: | Markus Wolff | Date: | Sun, 04 May 2003 10:45:12 +0000 |
| Subject: | Re: Pear in user directory | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-5215@lists.php.net to get a copy of this message | ||
David Collantes wrote:
If there a way to install PEAR and modules on my own directory? What should I do to make PHP aware of it?Add that directory to your include_path. You can do so by editing php.ini or httpd.conf or by putting an .htaccess file with the proper instructions in your website´s document root. If you can´t do any of that because of hyper-paranoid administrator´s server settings, you might try using the ini_set() function at the beginning of all your scripts (or better, put it in one central script that is included by all others). But surely the above methods are way better suited. Many roads lead to PEAR ;-) Regards, Markus