August 8th, 2003, 10:00
Does anybody know howto or have any good documentation on adding php and mysql into openbsd's chrooted apache?

August 8th, 2003, 10:28
Theres a few tutorials out there ive seen... I cant find the mysql one yet, but this shows php and postgresql. Ill keep looking as well....

August 8th, 2003, 12:10
As I recall there's a good one on deadly somewhere.

August 8th, 2003, 12:35
here's some info on mysql for future reference..

going to look into php now..

August 8th, 2003, 12:42
php is easy breezy to install in OBSD 3.3

just cd /usr/ports/www/php4

make all install clean

then cd /usr/ports/packages and pkg_add the php plugins you need. Lin imap-support or mysql-support etc.

it's a breeze. For chroot, of packages you can just set an environment var for the chroot dir, then do your make install or whatever. OBSD is really good that way.

Lots of packages have flavors as well. so you can try this when you cd/usr/ports/<portname>


then env FLAVORS="flavor1 flavor2 flavor3" make all install clean

or whatever.

Hope that helps