Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-11-2006, 08:53 AM   #1
LQ Newbie
Registered: Apr 2006
Posts: 5

Rep: Reputation: 0
Hi,PHP:sapi_apache2.c is not compatible

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/ SH_LIBTOOL='/usr/local/apache2/build/libtool' /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/
[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?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
php5 apache2 mysql4 don't work, php does not seem to read php.ini atom Linux - Software 5 03-24-2005 11:05 AM
php apache or php cgi - php learner rblampain Linux - Security 3 12-17-2004 11:10 PM
Please contact the vendor for the correct version. /sapi_apache2.c pudhiyavan Linux - Software 0 12-15-2004 06:24 AM
need authentication software compatible with php and c++ appas Linux - Software 0 11-15-2004 10:08 PM
authentication softwares compatible with php and C++ appas Programming 0 11-15-2004 10:06 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration