RE: [PHP] How can i check what version of PHP is installed on our server?
| From: | Maxim Maletsky | Date: | Thu, 16 Nov 2000 01:33:00 +0000 |
| Subject: | RE: [PHP] How can i check what version of PHP is installed on our server? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-25574@lists.php.net to get a copy of this message | ||
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@ssw.cz]
Sent: Wednesday, November 15, 2000 11:02 PM
To: gerry; php-general@lists.php.net
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@behost.com]
Sent: Wednesday, November 15, 2000 2:59 PM
To: php-general@lists.php.net
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@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net