Open your text editor application, if on a Macintosh you could use BBEdit or Textedit, then simply type or copy and paste the following code into a new document:
<?php phpinfo(); ?>
Save the document as: info.php
Upload the file to your server and then open your internet browser at the address of the info.php file:
http://yourserver/info.php
If PHP is installed you will see a page of information regarding PHP, if you just see the code that you typed into the info.php file then your server is not running PHP.
We have prepared a php info file, if you find it easier you can
Download Demo
|