#28046 [Bgs]: X-Powered-By shows wrong version
| From: | freebsd at mwi dot dk | Date: | Sun, 18 Apr 2004 11:36:30 +0000 |
| Subject: | #28046 [Bgs]: X-Powered-By shows wrong version | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-58330@lists.php.net to get a copy of this message | ||
ID: 28046
User updated by: freebsd at mwi dot dk
Reported By: freebsd at mwi dot dk
Status: Bogus
Bug Type: PHP options/info functions
Operating System: FreeBSD 4.9
PHP Version: 4.3.6
New Comment:
Never mind.
My bad.
Previous Comments:
------------------------------------------------------------------------
[2004-04-18 13:32:17] freebsd at mwi dot dk
Never the less thats the case.
Please let me know how to debug this so I can fix this.
I've installed direct from ports (cvs ports/make install):
pkg_info:
apache+mod_ssl-1.3.29+2.8.16_1 The Apache 1.3 webserver with SSL/TLS
functionality
mod_php4-4.3.6,1 PHP Apache Modul
root@gaia [/usr] # php -v
PHP 4.3.6 (cli) (built: Apr 16 2004 17:34:07)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
HTTP/1.1 200 OK
Date: Sun, 18 Apr 2004 11:30:47 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
X-Powered-By: PHP/4.3.4
Set-Cookie: PHPSESSID=0daa326af08b4b6d8f3ec367d0c2dfb9; path=/
Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Pragma: no-cache
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html
------------------------------------------------------------------------
[2004-04-18 13:09:53] derick@php.net
That is impossible, you must have installed/compile in the wrong way,
or the ports are screwed up.
------------------------------------------------------------------------
[2004-04-18 11:35:02] freebsd at mwi dot dk
Description:
------------
The http header shows X-Powered-By: PHP/4.3.4
phpinfo() shows 4.3.6
I have tried to turn it all of by:
expose_php Off Off
but header still shows up.
'./configure' '--enable-versioning' '--enable-memory-limit'
'--with-layout=GNU' '--with-zlib-dir=/usr' '--disable-all'
'--with-regex=php' '--disable-cgi' '--enable-ctype'
'--with-gd'
'--enable-gd-native-ttf' '--enable-gd-jis-conv'
'--with-freetype-dir=/usr/local' '--with-t1lib=/usr/local'
'--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local'
'--enable-gd-lzw-gif' '--with-mysql=/usr/local' '--enable-overload'
'--with-pcre-regex=yes' '--with-pdflib=/usr/local' '--enable-posix'
'--enable-session' '--enable-tokenizer' '--with-expat-dir=/usr/local'
'--enable-xml' '--with-zlib=yes' '--with-apxs=/usr/local/sbin/apxs'
'--prefix=/usr/local' 'i386-portbld-freebsd4.9'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28046&edit=1