I have followed several tutorials. Web sharing is on and I uncommented the php module in apache2/httpd.conf, but when I try to open the phpinfo file, it still tries to open it as a file.
Make sure your Apache config includes this line:
AddType application/x-httpd-php .php
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With