New guy on this block - Sun Blade ( solaris 8) - Apache 1.3.20 -
PHP406 - Mysql - PHP-nuke
So far installed and running, gcc, mysql
...php-nuke in the wings..
I unwrapped Apache1.3.20 and following Apache instructions in
README.configure under PHP infusion...
(Established something here....)
./configure --prefix=/usr/local/etc/httpd --->ok
(Back over to PHP)
cd ../PHP406
( configure php4.06 pointing to Apache 'src' directory)
./configure --with-apache=../AP1320 --with-mysql=/usr/local/mysql --->ok
make / make install ---> all ok
cd ../AP1320
( the Apache instructions refer to modules/php3, but is now
dealing with php4 which is what was created by the above. The
script was modified to reflect this)
./configure --prefix=/usr/local/etc/httpd \
--activate-module=src/modules/php4/libmodphp4.a \
--enable-module=most \
--enable-shared=max
-------------> all ok
The configure runs fine, but when the 'make' is attempted
this results
mod_php4.c:28: zend.h: No such file or directory
mod_php4.c:29: php.h: No such file or directory
mod_php4.c:30: php_variables.h: No such file or directory
mod_php4.c:47: php_ini.h: No such file or directory
mod_php4.c:48: php_globals.h: No such file or directory
mod_php4.c:49: SAPI.h: No such file or directory
mod_php4.c:50: php_main.h: No such file or directory
mod_php4.c:52: zend_compile.h: No such file or directory
mod_php4.c:53: zend_execute.h: No such file or directory
mod_php4.c:54: zend_highlight.h: No such file or directory
mod_php4.c:55: zend_indent.h: No such file or directory
mod_php4.c:57: ext/standard/php_standard.h: No such file or directory
make[4]: *** [mod_php4.so-o] Error 1
All the nsf's are in ../PHP406/main
So where did I go wrong.....& more importantly how to correct it
Thanks