I follow the steps to install my system:
cd /usr/src/apache_1.3.12
./configure --prefix=/usr/local/apache
cd ../php-4.0.4pl1
./configure --with-sybase-ct=/usr/local/freetds --with-apache=../apache_1.3.12 --enable-track-vars --enable-ftp
make
make install
cd ../apache_1.3.12
./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libmodphp4.a
make
but when I make my apache, it worked error. The error messages are the following:
gcc -c -I../../os/unix -I../../include -DSOLARIS2=270 -DUSE_EXPAT -I../../lib
/expat-lite -DNO_DL_NEEDED ../../apaci mod_php4.c
mod_php4.c:28: zend.h: Not find the file or directory
mod_php4.c:29: php.h: Not find the file or directory
mod_php4.c:30: php_variables.h: Not find the file or directory
mod_php4.c:47: php_ini.h: Not find the file or directory
mod_php4.c:48: php_globals.h: Not find the file or directory
mod_php4.c:49: SAPI.h: Not find the file or directory
mod_php4.c:50: php_main.h: Not find the file or directory
mod_php4.c:52: zend_compile.h: Not find the file or directory
mod_php4.c:53: zend_execute.h: Not find the file or directory
mod_php4.c:54: zend_highlight.h: Not find the file or directory
mod_php4.c:55: zend_indent.h: Not find the file or directory
mod_php4.c:57: ext/standard/php_standard.h: Not find the file or directory
Error code 1
make: Fatal error: Command failed for target mod_php4.o'
Current working directory /backup/apache_1.3.12/src/modules/php4
*** Error code 1
make: Fatal error: Command failed for targetall'
Current working directory /backup/apache_1.3.12/src/modules
*** Error code 1
I don't know why..
Please help me and thanks!!