I think this has been a common question but I don't seem to have a found any answer posted.
I have finally managed to get past the config --enable-mysql --enable-apxs.
Now when I run I get the following error
ld: fatal: file stub.lo: unknown file type
ld: fatal: File processing errors. No output written to .libs/libphp4.so
*** Error code 1
make: Fatal error: Command failed for target libphp4.la'
Current working directory /opt/php-4.1.1
*** Error code 1
make: Fatal error: Command failed for targetall-recursive'
Can someone please help 😕