[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OpenBSD as a Webserver?
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: OpenBSD as a Webserver?
- From: Mark Pecaut <mark_(_at_)_pecaut_(_dot_)_us>
- Date: Tue, 9 Nov 2004 14:50:54 -0700
- Mail-followup-to: Mark Pecaut <mark_(_at_)_pecaut_(_dot_)_us>, misc_(_at_)_openbsd_(_dot_)_org
On Tue, Nov 09, 2004 at 10:15:01PM +0100, Mark Schmid wrote:
> Now to my current understanding, that spells t-r-o-u-b-l-e
> with OpenBSD. Why? Apache is chrooted and don't work
PHP and MySQL work fine in a chroot. I don't know where you
read that it doesn't. Search the archives. Do your homework
before you post.
> But lo: NO info on PHP and MySQL with Apache's chroot in
> the books I got, NO ready packages or ports which contain
> PHP or MySQL which work flawlessly with Apache's chroot
> out-of-the-box (or not documented and thus not findable), NO
> info on the OpenBSD website about this, hardly NO info or
> tutorials (good usable ones that are up to date... -I only
> found 1 (one)) in the internet AND, what is rather shocking
> to me: NO interest by the devs of OpenBSD!!!
> (I got this impression quite strongly by asking Theo de Raadt
> in a personal email.)
Be very careful here - OpenBSD has the best documentation of
any Operating system I have ever used. The developers work
hard to make it complete and clear.
http://www.openbsd.org/faq/faq10.html#httpdchroot
Read the Faq. Read the man pages. Read them again.
Just pkg_add the php4 and mysql-server packages. Figure out
how to put the mysql socket in the chroot (ie, under
/var/www/). That's it.
With PHP and mysql, the chroot breaks using sendmail. That's
about it. Just use pear's mailer.
-Mark
Visit your host, monkey.org