Click to See Complete Forum and Search --> : Building Apache with PHP problems


Anon
01-02-2001, 11:13 PM
Hi, I'm trying to compile apache with a static php(php4.0.4) module... When i compile php it installs OK, then i cd into apache source dir and configure it with minimal config options and it errors out always with
-----------------snip
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` mod_php4.c
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
-------------------snip
etc... etc... it seems to be looking for php header files, but if I run apache's config with just the --activate-module=src/modules/php/libmodphp4.a it installst perfect.... where as anything other that just that seems to mess up with similar erros...... can anyone explain to me why this happens, if its normal or if its me... most likely it is... I'm very new to all this.... not an excuse just saying is all...

Thanks....

Anon
01-03-2001, 04:15 AM
Dear Sir,
I have window98 and apache for windows. I have also php3 but I don't know that how to use both php and apache on windows .
I am unable to resolve this problem through books or help.

Anon
01-03-2001, 04:39 AM
Dear Sir,
I am a window user. I have apache for windows and php3, But I don't know how to use Install and how to use php with apache?
if possible please give me help
Thanks.