Choosen to perform Dynamic Module Installation.
After configure
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxsmc

Launched make install
and after a few of elaboration I got the following error.
Does anyone knows how to work it around ?
Thanks

......

pl2/ext/xml/expat/xmltok -I/usr/local/phptemp/php-4.0.1pl2/ext/xml/expat/xmlpars
e -DXML_BYTE_ORDER=12 -g -O2 -c basic_functions.c
basic_functions.c:460: `php_if_openlog' undeclared here (not in a function)
basic_functions.c:460: initializer element for `basic_functions[289].handler' is
not constant
basic_functions.c:461: `php_if_syslog' undeclared here (not in a function)
basic_functions.c:461: initializer element for `basic_functions[290].handler' is
not constant
basic_functions.c:462: `php_if_closelog' undeclared here (not in a function)
basic_functions.c:462: initializer element for `basic_functions[291].handler' is
not constant
basic_functions.c:463: `php_if_define_syslog_variables' undeclared here (not in
a function)
basic_functions.c:463: initializer element for `basic_functions[292].handler' is
not constant
make[3]: *** [basic_functions.lo] Error 1
make[3]: Leaving directory `/usr/local/phptemp/php-4.0.1pl2/ext/standard'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/local/phptemp/php-4.0.1pl2/ext/standard'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/phptemp/php-4.0.1pl2/ext'
make: *** [install-recursive] Error 1