You are Here:   FAQ->Scripting and Programming Languages->PHP->Article #5


How can I find out which version of PHP I am using?


For Linux packages only!Linux Packages Only!
      This includes:
arrow 1&1 Beginner (Linux) arrow 1&1 Dual Starter (Linux)
arrow 1&1 Home (Linux) arrow 1&1 Dual Unlimited (Linux)
arrow 1&1 Business (Linux) arrow 1&1 Dual Business (Linux)
arrow 1&1 Developer (Linux) arrow 1&1 Managed Servers





One way to find out what version of PHP is currently being used by one of your sites is to create a PHP page with the phpversion(); function. Save this file as phpVersion.php to the same folder where all of your site files are located. Then access this page in a browser such as http://domain.com/phpVersion.php and view the output.

<?php
echo "The current PHP version being used is: " . phpversion ( );
?>



OUTPUT

The current PHP version being used is: 4.4.9   


Print Article
How useful was this article?
(From 5 = Very Useful to 1 = Not useful at all):
1 2 3 4 5