Re: Re: Bug #658 Updated: Apache version string SERVER_SOFTWARE wrong
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Re: Bug #658 Updated: Apache version string SERVER_SOFTWARE wrong | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-300@lists.php.net to get a copy of this message | ||
> 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?
huh? I have no idea what you are doing here. Are you not killing your
httpd and installing the new binary perhaps? There is no PHP bug here, I
am sure of it.
-Rasmus
--
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