LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 11-02-2002, 06:31 PM   #1
GabeF
Member
 
Registered: Mar 2002
Location: New Hampshire, US
Distribution: Mandrake 8.0, Redhat 8.0
Posts: 101

Rep: Reputation: 15
PHP4.2.1 install on mdk8.0 with apache2


The ./configure worked fine. I didn't see any error messages, but when I ran make, I got the following:

Making all in apache2filter
make[2]: Entering directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
make[3]: Entering directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
/bin/sh /usr/local/etc/php-4.2.1/libtool --silent --mode=compile gcc -I. -I/usr/local/etc/php-4.2.1/sapi/apache2filter -I/usr/local/etc/php-4.2.1/main -I/usr/local/etc/php-4.2.1 -I/usr/local/apache2/include -I/usr/local/etc/php-4.2.1/Zend -I/usr/local/etc/php-4.2.1/ext/mysql/libmysql -I/usr/local/etc/php-4.2.1/ext/xml/expat -I/usr/local/etc/php-4.2.1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic -c sapi_apache2.c
make[3]: Leaving directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
make[2]: Leaving directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
make[1]: Leaving directory `/usr/local/etc/php-4.2.1/sapi'
sapi_apache2.c:535: too few arguments to function `ap_register_input_filter'
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/etc/php-4.2.1/sapi'
make: *** [all-recursive] Error 1

That makes no sense to me, so all I can say is, please help

Thanks
 
Old 11-03-2002, 12:18 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
I had a similar problem. It compiled with latest development PHP version.
 
Old 11-04-2002, 08:08 AM   #3
GabeF
Member
 
Registered: Mar 2002
Location: New Hampshire, US
Distribution: Mandrake 8.0, Redhat 8.0
Posts: 101

Original Poster
Rep: Reputation: 15
So you used php 4.2.2 or some beta thereof? Ok thanks for the help.
 
Old 11-04-2002, 07:22 PM   #4
GabeF
Member
 
Registered: Mar 2002
Location: New Hampshire, US
Distribution: Mandrake 8.0, Redhat 8.0
Posts: 101

Original Poster
Rep: Reputation: 15
Thanks again,Mara. That did the trick.

For someone who searches on this topic:

Apache 2.0.43 works fine with php-4.2.3.
 
  


Reply



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
phpbb, apache2, php4 Odins_Son Linux - Software 2 12-23-2004 02:24 AM
apache2 + php4 atheist Linux - Software 6 10-25-2004 03:12 PM
php4 with apache2? the debian way, how? Tisch Debian 4 08-19-2004 09:35 AM
Debian, apache2 and php4 Pasi Linux - Distributions 1 03-20-2003 07:28 PM
Apache2 & php4 CyberDrake Linux - Newbie 2 11-25-2002 11:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:54 PM.

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