PDA

View Full Version : PHP:sapi_apache2.c is not compatible


candela
11-04-2006, 14:46
Salve a tutti,
sto provando ad installare PHO su un server Apache,

la configurazione non sembra sollevare problemi:# ./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]
#/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
qualche indicazione sul da farsi ?

PS. ovviamente prima del restart ho aggiornato il file di configurazione di Apache ;)