Re: Bug #658 Updated: Apache version string SERVER_SOFTWARE wrong
| From: | Axel Reinhold | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Bug #658 Updated: Apache version string SERVER_SOFTWARE wrong | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-299@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
On Mon Aug 17 14:12:58 1998, Bug Database wrote:
> ID: 658
> Updated by: rasmus
> Reported By: ho1158@hof.baynet.de
> Status: Closed
> Bug Type: Other
> Assigned To:
> Comments:
>
> This could not possibly be a PHP bug. You are running the wrong httpd, I bet.
>
> Full Bug description available at: §
> Yc·+j7m‡0zìÓhttp://ca.php.net/bugs.php3?id=658
>
I did a clean install with "quick-install" with fresh downloaded
Apache/1.3.1 and PHP/3.0.3 and got:
SERVER_SOFTWARE = PHP/3.0.3 PHP/3.0.3
then I changed "apache_1.3.1/src/modules/php3/mod_php3.c":
[root@arx php3]# rcsdiff mod_php3.c
====================================================================
RCS file: RCS/mod_php3.c,v
retrieving revision 1.1
diff -r1.1 mod_php3.c
483c483,487
< ap_add_version_component("PHP/" PHP_VERSION);
- ---
> {
> static int ____c=0;
> if (____c++==0) ap_add_version_component(SERVER_BASEVERSION);
> else ap_add_version_component("PHP/" PHP_VERSION);
> }
=====================================================================
after that:
SERVER_SOFTWARE = Apache/1.3.1 PHP/3.0.3
why? The problem is not in PHP?
Cheers
Axel
- --
|-----------------------+---------------------------------------|
| | Fon: +49-9287-87446 |
| Axel Reinhold | Fax: +49-9287-8244 |
| Franz-Heinrich-Str.20 | eMail: Axel_Reinhold@t-online.de |
| 95100 Selb | http://home.t-online.de/home/Axel_Reinhold |
| Germany | Please do not send more than 100 kilobyte |
|------------------+--------------------------------------------|
| Fingerprint: 8D EF 9F 22 DF 9A 9B 68 E5 8C 12 C7 8D 6A 97 4E |
|---------------------------------------------------------------|
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
iQB1AwUBNdnTyraY0tcA8SlxAQE7BgMArnUQhZR3IYrYBCALxic2TJ+Yu9eeAwHc
8kDZVtqs7AoEes/Z3ElhH25puEiDOFYi6F78BK3uzfu12/s9vTq9AYFj2QgGLjfa
lZ+A0Y2QbqO4OY3owJVpFR30KHW5Jlfo
=iRkP
-----END PGP SIGNATURE-----
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net