I've been looking at this at many angles for already to long a time
and can't find a quick way out of the trouble.

Had a working apache-2.0.50 + mysql-4.0.22 + php-4.39 system
(phpbb running on top)
All stock and all installed from source
OS: openbsd 3.5
installed without much trouble.

I did try to upgrad to apache-2.0.52 and ever since, no matter what I
try to do php will cause the httpd to exit with exit(0x4) without any indication of the reason.


Tracking system calls (ktrace):
- httpd starts with loading its dynamic libs,
- next reads its config and loads phplib.so
- after which it chases throught the directories
  in the dynamic linker's search path
  reading directories (don't know what it's looking for)
  and quits with a exit(4)
  If I'd only knew what it's looking for ...
  (when the loadmodule for php is commented out, it doesn't
   start to look for anything)

I've tried reverting back to the old compiled versions (doing just a
make install), compiled even apache 1.3.33 all to no avail they all
exhibit an identical issue and I've no clue where to look next.

apache works, provided I comment out the loadmodule for php
mysql seems to work as well (CLI)

What I do see is php's make install messing with ldconfig
and trying to point it to the compile directory, but
regardless of where I aim it to it won't load.

Any pointers will be appreciated!

Thanks in advance.


apache: $ ./configure --prefix=/var/www/apache-2.0.52 --enable-so php: $ ./configure --prefix=/var/www/php-4.3.9/ \ --with-apxs2=/var/www/apache-2.0.52/bin/apxs \ --with-mysql=/usr/local/mysql/

Reply via email to