How to get php to work via apache
I run successfully apache and mysql. I can access my mysql server with phpMyAdmin. But a standard info.php under var/www/html does accessed via the browser on localhost/info.php does not show anything.
sorry if I miss something really obvious...
I checked out several setup suggestions for LAMP - they all include php-mysql. The latter seems to not be supported anymore. I would have thought that installing and enabling, starting httpd, mariadb should suffice in getting php to work. Probably I miss just a simple point?
if you can work with phpMyAdmin then you already have php working on apache issue ls -laZ /var/ww/html to see if the file you added has seLinux permits to run from Apache. Place the output here.
thanks, your comment helped a lot. the seLinux was the issue. I was not aware of this before.