Difference between revisions of "Find PHP Version"
From Acenet Knowledgebase
Docs admin (talk | contribs) (Created page with "This article provides details on how you can tell what version of PHP your server is running through cPanel or through SSH. ==cPanel== 1) Log into your cPanel. 2) Expand th...") |
Docs admin (talk | contribs) (→cPanel) |
||
Line 5: | Line 5: | ||
1) Log into your cPanel. | 1) Log into your cPanel. | ||
− | 2) Expand the | + | 2) Expand the [[File:Cpanel_stats_tab.jpg]] tab to the left by clicking on it if it's not already expanded. |
3) Look for 'PHP Version' under the 'Stats' tab. Your server's current PHP version is provided there. | 3) Look for 'PHP Version' under the 'Stats' tab. Your server's current PHP version is provided there. |
Latest revision as of 16:31, 17 January 2013
This article provides details on how you can tell what version of PHP your server is running through cPanel or through SSH.
cPanel
1) Log into your cPanel.
2) Expand the tab to the left by clicking on it if it's not already expanded.
3) Look for 'PHP Version' under the 'Stats' tab. Your server's current PHP version is provided there.
SSH
1) Log into your server via SSH as root.
2) Type the following command to find the PHP version:
php -v
You should see output similar to:
root@ [~]# php -v
PHP 5.2.17 (cli) (built: Oct 16 2012 12:27:57)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies