Hi Teufboy,
As I know, library libphp4.so is created during compilation of apache, not PHP.
My sequence of configuration/compilation was:
1) unpacking of apache and PHP sources in /tmp directory:
tar -zxvf apa.tar.gz
tar -zxvf PHP.tar.gz
2) configuration of apache
cd apache_1.3.26
./configure
3) configuration of PHP in its directory:
./configure --with-apache=../apache_1.3.26 --enable-track-vars
4) compilation of PHP:
make
make install
5) second (???) configuration of apache in its directory
./configure --activate-module=src/modules/php4/libphp4.a
(before this step there is no file libphp4.a - only libmodphp4.a.
Library file libphp4.so is probably created and moved during
compilation and installation of apache (step 6) )
6) compilation and installation of apache
make
make install
7) the end - editing of httpd.conf file
PHP in my system (16 MB RAM RedHat Linux 5.2 :-) apache 1.3.26 PHP 4.2.3) works good.
Try my way.
Gregor63