I have tried with the newest versions of Apache and PHP. I have tried
with the versions that came with the book "Core PHP Programming" (I am
using the instructions from the book to compile). I have tried using
Slackware 4.0 and Mandrake 6.0, and I always get the same result.
Apache 1.3.9 (tried 1.3.3 with PHP3)
PHP4 0b2 (tried PHP3 once)
I untar Mysql, PHP, and Apache in /usr/local.
Run configure, make, and make install on Mysql.
I do './configure --prefix=/www' for Apache
Then './configure --with-mysql --with-apache=../apache_1.3.x --enable-
track-vars' (where x = version number), make, make install for PHP4
(tried PHP3 once too).
Followed by './configure --prefix=/www --activate-
module=src/modules/phpx/libmodphpx.a' (where x is version), make. (for
I get several errors running make. The first is Apache can't find some
.h files related to PHP. I copy those files to the Apache PHP4
modules directory then run make again. More errors related to .h files.
This time it is looking for zend*.h, config.unix.h, and modules.h files
that are in PHP's libzend directory. Move those to the Apache PHP4 module
directory and run make again. This time I get the following errors:
modules.o (.data+0x48): undefined reference to modphp4_module
modules.o (.data+0x98): undefined reference to modphp4_module
I looked through the link messages and verified (as far as I can tell
anyway) all the libraries in question do exist where the linker is
looking for them. Is modphp4_module imbedded in another file, because I
have been unable to find it? Any help will be greatly appreciated (before
I suffer from self-induced baldness :)
Thanks in advance.