Howdy,

I've successfully complied PHP and the straight cigfiguration of apache
1.3.26 but when i go to configure php as a module in apache using

#./configure --enable-module=max --enable-shared=max --activate-module=src/m
odules/php4/libmodphp4.a

i get the following error

mod_php4.c:28:18: zend.h: No such file or directory
mod_php4.c:29:17: php.h: No such file or directory
mod_php4.c:30:27: php_variables.h: No such file or directory
mod_php4.c:47:21: php_ini.h: No such file or directory
mod_php4.c:48:25: php_globals.h: No such file or directory
mod_php4.c:49:18: SAPI.h: No such file or directory
mod_php4.c:50:22: php_main.h: No such file or directory
mod_php4.c:52:26: zend_compile.h: No such file or directory
mod_php4.c:53:26: zend_execute.h: No such file or directory
mod_php4.c:54:28: zend_highlight.h: No such file or directory
mod_php4.c:55:25: zend_indent.h: No such file or directory
mod_php4.c:57:39: ext/standard/php_standard.h: No such file or directory
In file included from mod_php4.c:61:
mod_php4.h:34: parse error before "zend_bool"
mod_php4.h:34: warning: no semicolon at end of struct or union
mod_php4.h:35: warning: data definition has no type or storage class
mod_php4.h:37: parse error before "apache_module_entry"
mod_php4.h:37: warning: data definition has no type or storage class
mod_php4.h:43: parse error before "php_apache_info"
mod_php4.h:43: warning: data definition has no type or storage class
mod_php4.c:67: parse error before "TSRMLS_DC"
mod_php4.c:70: parse error before "TSRMLS_DC"
mod_php4.c:71: warning: parameter names (without types) in function
declaration
mod_php4.c:72: parse error before '*' token
mod_php4.c:73: parse error before '*' token
mod_php4.c:90: parse error before "HashTable"
mod_php4.c:91: parse error before "HashTable"
mod_php4.c:92: parse error before "HashTable"
mod_php4.c:93: parse error before "HashTable"
mod_php4.c:94: parse error before "HashTable"
mod_php4.c:95: parse error before "HashTable"
mod_php4.c:127: parse error before "TSRMLS_DC"
.
.
.
.

does any one have any idea's on why it is and what i can do about it?

Cheers

Peter
"the only dumb question is the one that wasn't asked"



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to