LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache with php4 question (https://www.linuxquestions.org/questions/linux-software-2/apache-with-php4-question-298657/)

Kevnathan 03-07-2005 08:05 AM

Apache with php4 question
 
Hi all,
I am trying to configure my apache with php4 for IDS, but i am getting this error after typing the following command:

***********************************
Command
********
make install


***********************************
Error
********

mod_php4.c:939: warning: excess elements in scalar initializer
mod_php4.c:939: warning: (near initialization for `php4_module')
mod_php4.c:940: `NULL' undeclared here (not in a function)
mod_php4.c:940: warning: excess elements in scalar initializer
mod_php4.c:940: warning: (near initialization for `php4_module')
mod_php4.c:941: `NULL' undeclared here (not in a function)
mod_php4.c:941: warning: excess elements in scalar initializer
mod_php4.c:941: warning: (near initialization for `php4_module')
mod_php4.c:942: `NULL' undeclared here (not in a function)
mod_php4.c:942: warning: excess elements in scalar initializer
mod_php4.c:942: warning: (near initialization for `php4_module')
mod_php4.c:956: `NULL' undeclared here (not in a function)
mod_php4.c:956: warning: excess elements in scalar initializer
mod_php4.c:956: warning: (near initialization for `php4_module')
mod_php4.c:956: warning: data definition has no type or storage class
../../include/http_conf_globals.h:42: storage size of `ap_bind_address' isn't known
../../include/http_conf_globals.h:78: storage size of `ap_server_root' isn't known
../../include/http_conf_globals.h:79: storage size of `ap_server_confname' isn't known
../../include/http_conf_globals.h:89: storage size of `ap_coredump_dir' isn't known
make[5]: *** [mod_php4.o] Error 1
make[4]: *** [all] Error 1
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/sw/ids/apache/apache_1.3.33/src'
make[2]: *** [build-std] Error 2
make[2]: Leaving directory `/sw/ids/apache/apache_1.3.33'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/sw/ids/apache/apache_1.3.33'
make: *** [install-all] Error 2
sh-2.05b#


Your solutions will be of great help.
Thanks
Kevin Khushal

Brian Knoblauch 03-07-2005 10:15 AM

Did you compile Apache with PHP support? I believe it's "apx2" or something like that?

Kevnathan 03-08-2005 07:13 AM

Yeah i did compile php with apache. I am trying to configure apache for IDS but then this error is coming up. Please help.

Thanks
KEvin


All times are GMT -5. The time now is 12:31 PM.