Knowledgebase

How to obtain the version of PHP or the modules installed on a server?

To get the PHP version or modules installed on a server, simply run a function in a php file.
The following example shows how to obtain all the information regarding the installed version of PHP for your hosting account.

<?php
phpinfo();
?>

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

What is the vulnerability of PHP's mail() function?

There is a growing use of the method of sending mass e-mails through web forms that use PHP to...

Why is allow_url_fopen disabled?

The allow_url_fopen function is disabled on all our individual plan and reseller servers for...