RE: PHP Installations

From: Date: Mon, 29 Jul 2002 21:43:53 +0000
Subject: RE: PHP Installations
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-11620@lists.php.net to get a copy of this message
Hi Ron, you can do it in one of many ways. Firstly, you could execute a php script on them all (although, i guess that would suck), with the following: <?php echo phpversion(); ?> You could also telnet port 80 on all of them,and request HEAD / HTTP/1.0 which would give you a bunch of lines, one being: Server: Apache/1.3.27-dev (Unix) PHP/4.3.0-dev which you could grep for. feel free to mail me if you need more help. -- James Cox > > > Is there a way to tell if PHP is installed on a system? I have several > thousand UNIX servers and need a way to tell if we are running 4.2.0 or > 4.2.1. > > I currently use netcat to query web servers to get their Applications > and release level. Do you know if PHP can be queried similarly? > Thanks Very Much > > -- > Ron Helgerson > Qwest Corporate System Security(Midrange) > (425)451-5969 > > >

« previous php.mirrors (#11620) next »