php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28046 X-Powered-By shows wrong version
Submitted: 2004-04-18 11:35 UTC Modified: 2004-04-18 13:36 UTC
From: freebsd at mwi dot dk Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 4.3.6 OS: FreeBSD 4.9
Private report: No CVE-ID: None
 [2004-04-18 11:35 UTC] 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'




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-18 13:09 UTC] derick@php.net
That is impossible, you must have installed/compile in the wrong way, or the ports are screwed up. 
 [2004-04-18 13:32 UTC] 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:36 UTC] freebsd at mwi dot dk
Never mind.

My bad.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 01 22:01:31 2024 UTC