What am I doing wrong this keeps happening and it is driving me crazy. When I install Apache then do a make install of php it gives the following error message:
[activating module php4' in /www/conf/httpd.conf]
cp libs/libphp4.so /www/libexec/libphp4.so
cp: cannot statlibs/libphp4.so': No such file or directory
apxs:Break: Command failed with rc=1
make: *** [install-sapi] Error 1
These are the instructions I am using to install:
tar -xvzf apache-1.3.28.tar.gz
cd apache-1.3.28
./configure --prefix=/www –enable-module-so
make
make install
cd ..
tar -xvzf php-4.3.2.tar.gz
cd php-4.3.1
./configure --prefix=/www/php --with-apxs=/www/bin/apxs --with-config- filepath=/www/php --enable-sockets --with-mysql=/usr/local/mysql --with-zlib-dir=/usr/local --with-gd
make
make install