php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18482 PHP 4.2.2 configuration on Solaris8 and Apache 2.x
Submitted: 2002-07-22 20:59 UTC Modified: 2002-07-24 00:35 UTC
From: yamasaki at aero dot kyushu-u dot ac dot jp Assigned:
Status: Closed Package: *Configuration Issues
PHP Version: 4.2.1 OS: Solaris 8
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: yamasaki at aero dot kyushu-u dot ac dot jp
New email:
PHP Version: OS:

 

 [2002-07-22 20:59 UTC] yamasaki at aero dot kyushu-u dot ac dot jp
There is no PHP 4.2.2 choice in the bug reporting page. Actually this is related to 4.2.2.

On Solaris 8 with gcc 2.95.2,

When configuring

./configure --with-apxs2=/usr/local/apache2/bin/apxs --enable-trans-sid --enable-mbstring --enable-mbstr-enc-trans --enable-track-vars --with-mysql=/usr/local/mysql

we have got

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 module support via DSO through APXS... configure: error:
 Use --with-apxs with Apache 1.3.x!






Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-22 21:14 UTC] sniper@php.net
Do you have Apache 1.3.x installed in this system?
What is the output of 'httpd -v' ?

And FYI: You should use the latest CVS versions of both
Apache2 and PHP to get best results..(for production usage, use Apache 1.3.26)

 [2002-07-22 21:14 UTC] sniper@php.net
Please try this snapshot too:

http://snaps.php.net/php4-STABLE-latest.tar.gz

 [2002-07-22 21:47 UTC] yamasaki at aero dot kyushu-u dot ac dot jp
In addition to Apache 2.x, we also have installed Apache 1.x for mod_ssl.
No answer is obtained for 'httpd -v' since no path to httpd is set.

php4-STABLE-latest gives the same error at the SAPI configuration.

I am a little hesitant to install the CVS version, because it often has problems in configuration and installation on Solaris 8, and requires the CVS version of Apache. But it should be the only solution as it was yesterday.
 [2002-07-22 21:49 UTC] sniper@php.net
Most likely the apxs you're referring to in the configure line is actually for Apache 1.3.26. Or are you SURE you installed both under different prefixes? 

"/usr/local/apache2/bin/httpd -v" <-- what does THIS output?

 [2002-07-22 21:58 UTC] yamasaki at aero dot kyushu-u dot ac dot jp
server-name% /usr/local/apache2/bin/httpd -v
Server version: Apache/2.0.40-dev
Server built:   Jul  8 2002 13:10:37

apache_1.3.26 is in /usr/local/apache
 [2002-07-22 22:01 UTC] sniper@php.net
Please try this snapshot:

http://snaps.php.net/php4-latest.tar.gz

It has better detection for the apache version and also
is the only version of PHP which works with Apache 2.0.40


 [2002-07-22 22:55 UTC] yamasaki at aero dot kyushu-u dot ac dot jp
It worked well.

Thank you very much.
 [2002-07-23 01:38 UTC] derick@php.net
Closing then...
 [2002-07-24 00:35 UTC] yamasaki at aero dot kyushu-u dot ac dot jp
This version seems to have a crucial bug described below.
How should we describe the version to report the bug ?

For the sample program

<html>
<body>
<form method="post" name="submit" action="cron.php">
<input type="submit" name="cmd" value="New">
</form>
<?php
if (isset($HTTP_POST_VARS)) {
   foreach ($HTTP_POST_VARS as $key => $value) {
      print $key . ":" . $value . "<BR>";
   }
}
?>
</body>
</html>

After pushing "New" button, we obtain "cmd:Newcmd=New".
It should be just "cmd:New", isn't it?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 12:01:30 2024 UTC