posted 4 years ago
I have RHEL server with Apache and PHP installed on it. I'm trying to host a PHP file inside /var/www/ folder just like we do in WAMP server on window. I created a php file `phpinfo.php` inside /var/www/html and tried to access it like the following:
https://myservername.com/phpinfo.php
However, it didn't work. What settings I need to do in order to make this work?