Hi,PHP:sapi_apache2.c is not compatible
Hi,
I'm insalling PHP on Apache
the configurazion goes well.... i think
# ./configure --with-mysql --with-xml --with-apxs2=/usr/local/apache2/bin/apxs
# make >make_log.log
ext/mysql/libmysql/my_tempnam.lo(.text+0x40): In function `my_tempnam':
/usr/local/src/php/php-4.4.2/ext/mysql/libmysql/my_tempnam.c:115: the use of `tempnam' is dangerous, better use `mkstemp'
# make install >make_install_log.log
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp4.la /usr/local/apache2/modules
libtool: install: warning: remember to run `libtool --finish /usr/local/src/php/php-4.4.2/libs'
chmod 755 /usr/local/apache2/modules/libphp4.so
[activating module `php4' in /usr/local/apache2/conf/httpd.conf]
until i try to restar it (after update the conf)
#/etc/rc.d/init.d/httpd restart
Avvio di httpd: httpd: module "/usr/local/src/php/php-4.4.2/sapi/apache2handler/sapi_apache2.c" is not compatible with this version of Apache
any suggestion?
thienks!
|