faqts : Computers : Programming : Languages : PHP : Common Problems : Tips and Tricks

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

10 of 10 people (100%) answered Yes
Recently 6 of 6 people (100%) answered Yes

Entry

How can I work out what version of PHP I'm using?

Nov 2nd, 2000 08:25
David Croft, Nathan Wallace, Richard Lynch


Create a page with just this line:

    <?php phpinfo(); ?>

The resulting output should tell you what version of PHP is running.

Or just

    <?php echo phpversion(); ?>