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

bsdjunkie
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....

http://www.bsdforen.org/foren/showtopic.php?threadid=773

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

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

http://nomoa.com/bsd/mysql.htm

going to look into php now..

elmore
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>

make show VARNAME=FLAVORS

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

or whatever.

Hope that helps