RE: [PHP] How can i check what version of PHP is installed on our server? From: Maxim Maletsky (maxim.maletsky <email protected>)
Date: 11/15/00

if you need it in the script to , let's say , detect what version is your
software being installed, then use this

floor(phpversion()) it will return you whether 3 or 4.

by itself phpversion() will output something like :current version of PHP is
.... blah blah blah ....

Cheers!

-----Original Message-----
From: Jirí HRADIL [mailto:JHradil <email protected>]
Sent: Wednesday, November 15, 2000 11:02 PM
To: gerry; php-general <email protected>
Subject: RE: [PHP] How can i check what version of PHP is installed on our
server?

Try this:

<?
phpinfo();
?>

:-))
Enjoy...

Jirka

-----Original Message-----
From: gerry [mailto:gerry <email protected>]
Sent: Wednesday, November 15, 2000 2:59 PM
To: php-general <email protected>
Subject: [PHP] How can i check what version of PHP is installed on our
server?

Hi all,

I just leased a new server, and i asked to install PHP.
How can i check what version of PHP is installed on our server?

Gerry.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>