Re: phpinfo reports wrong version of apache

From: Date: Mon, 17 Sep 2001 09:53:25 +0000
Subject: Re: phpinfo reports wrong version of apache
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-4320@lists.php.net to get a copy of this message
Floyd Miller wrote: > > I have upgraded from apache 1.3.19 to 1.3.20 and recompiled and > installed PHP 4.0.6 > but phpinfo() still reports the Apache version as 3.1.19. Running httpd > -v reports > 1.3.20. Where does phpinfo() get its information from and why wouldn't > it be undated? > > Thanks. Hi, From my experience, phpinfo (or the PHP module) remembers some information about itself and the apache from the previous build. If you want phpinfo to show the exact information, before "make" use "make clear". Then phpinfo will show the correct information. This also happens when you add some configuration option (ex. --with-something) and do just "make". Then phpinfo won't show this new optin in the Configure Command in phpinfo. But if you use make clear and make, everything is shown correctly. Martin -- Martin Pavlas ParsCom IS s.r.o. http://www.parscom.cz

« previous php.install (#4320) next »