May 28, 2024

Does my server support PHP?

In order to run PHP scripts your server needs to support PHP. It is very easy to examine if your server is capable of running PHP scripts by just trying it with the phpinfo() that prints out all the information about the installed PHP version.

<?php echo phpinfo(); ?>

Upload a file to your server containing the above stated code and name the file *.php (for example test.php).

Thenk open your web browser and navigate to the file on your webserver.

You should either see a page containing all information about the installed PHP version – which means your server supports PHP – or nothing – which means your server doesn’t support PHP.

If your server supports PHP you may run any other PHP script supported by the given PHP version.

This article is also available in German on

Leave a Reply

Your email address will not be published. Required fields are marked *