Re: httpd won't start and no error entries in error_log

From: Wolfgang M. Weyand (nospam_at_motzarella.ath.cx)
Date: 03/28/04


Date: Sun, 28 Mar 2004 12:46:30 +0200


["Followup-To:" header set to comp.unix.bsd.openbsd.misc.]

* Andrew Falanga wrote:

[PHP installed from sources on OpenBSD 3.4]

> For those in comp.infosystems.www.servers.unix who might not be familiar
> with OpenBSD, there's nothing really "special" about their prebuilt
> package.

I beg to differ. OpenBSD's chrooted Apache really *is* something special.

> It's installed with uid & gid of www. It's chroot'd to
> /var/www, and after that, it seems to be pretty much vanilla (from what
> I've seen, admittedly, I'm no apache guru).

And as Apache runs in a jail it will look for PHP modules in

      /var/www/lib/php/modules

instead of /usr/local/lib/php/modules.

This is what /var/www/lib/php/modules looks like here:

ls /var/www/lib/php/modules
bz2.so imap.so mcrypt.so ncurses.so pdf.so shmop.so xslt.so
domxml.so ldap.so mysql.so odbc.so pgsql.so snmp.so

BTW: Why don't you use the PHP version from the ports tree and save yourself
the hassle to copy things to the right places manually?

-- 
This sig intentionally left blank 


Relevant Pages