Moving PEAR installation (for self-contained class library)
| From: | aka MacGuru) | Date: | Fri, 27 May 2005 18:16:48 +0000 |
| Subject: | Moving PEAR installation (for self-contained class library) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-215910@lists.php.net to get a copy of this message | ||
Hi,
I have a PEAR-related question. My class library using some PEAR
packages, and I would like to make it self-contained, i.e. to be able
to move it to a server (for example MacOS X) which do not have (and
will not require) installation of any PEAR package(s).
What I would like to do is just to copy whole PEAR directory from
the /usr/share/php5 in the corresponding subdir of my class library.
The question is - how to make this work transparently. What global
php_ini variables need to be changed? Just ¨include_path¨ or anything
else?
Thanks in advance for any suggestion(s).
************************************************
*** with best regards
*** Andrei Verovski (aka MacGuru)
*** Mac, Linux, DTP, Programming Web Site
***
*** http://snow.prohosting.com/guru4mac/
************************************************