Forum Moderators: coopster

Message Too Old, No Replies

Using PHP, To Check The PHP Version (without using phpinfo()

         

kazisdaman3

10:33 am on Apr 24, 2008 (gmt 0)

10+ Year Member



Hey Guys!

Is there a way to check what version of PHP your using, without calling phpinfo()?

I have a self-installer script, and before they install it, the script wants to confirm that they have a compatible version of PHP.

Any ideas? Thanks a Ton!

kazisdaman3

10:37 am on Apr 24, 2008 (gmt 0)

10+ Year Member



Nevermind I found it:

[us2.php.net...]

phpversion();

simple enough.