Re: [Phplib-users] phplib on freebsd
Brought to you by:
nhruby,
richardarcher
From: Deborah H. <de...@po...> - 2001-11-27 21:02:16
|
> Anyone have experience with using phplib on FreeBSD? How would one go about > getting it installed -- is there any way to do it through ports? Addtl setup > docs? As far as I know, there isn't a phplib port and no plans to create one. However, I use phplib (both 7.2d and the current version from CVS) on FreeBSD 4.3 and 4.4 at the moment, and have for some time. Just put the php directory from the distribution somewhere where apache's php include path can find it. I have virtual hosts set up, so I have a virtual host entry that includes: php_value include_path /usr/local/www/artists/templates:/usr/local/www/artists/code:/usr/local/www/php/phpunit:/usr/local/www/php/phplib-devel php_value auto_prepend_file prepend.php3 That is, I search this virtual host's templates and code directories, the phpunit directory and then the phplib directory. This lets me make tweaks to the phplib files by copying them into the virtual host's code dir and thus leave my distribution sharable and unchanged. Usually I end up with at least a copy of prepend.php3 and local.inc in the code directory. Hope that helps. -Deb -- Deborah Hooker, Principal Mnemosyne Consulting * 10676 W. Tufts Pl., Littleton, CO 80127 (720) 922-1673 * de...@mn... http://www.mnemosyne-consulting.com |