On 10/07/2018 08:04 PM, Benjamin Smith wrote:
I've checked all of these to no avail. So I did a firm reset, not only removing RPMs but also deleting any and all stale config files in /etc. Now, after re-installing the RPMs, the default directory (/var/www/html/phpinfo.php) works fine. However, the site config file doesn't work, I get PHP code.

Now starting with very basic configs and stepping forward, line by line, until I find the configuration lines that work.


I forgot to add an eetsy beetsy detail :/ You need to tell apache *which* files to apply the handler to. (I just got bit by this today)

<FilesMatch \.php$>
  SetHandler "proxy:unix:/var/run/php/php7.2-fpm.sock|fcgi://localhost/"
</FilesMatch>
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to