To see whether PHP is running on the web server, you can create a simple script which will self generate a page full of PHP information.
It will give you the following information:
- System information
- Build date
- Server API
- Virtual directory support
- Path to PHP.ini
- Additional configuration files
- Additional used configuration files
Simply create a file called “info.php” with the following code:
<?php phpinfo(); ?>
Should you have any questions, comments or suggestions, please don’t hesitate to comment below. If you like what you have read, please share it on your favourite social media medium.