Re: PHP-FPM, PHP code in browser

2018-10-08 Thread Mike Wright
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,

Re: PHP-FPM, PHP code in browser

2018-10-07 Thread Federico Bruni
Il giorno lun 8 ott 2018 alle 5:04, Benjamin Smith ha scritto: [...] I have apache/php-fpm running on an ubuntu vm. File layouts are different from fedora but enough is similar that this may help. Again, this is ubuntu... /etc/php/7.2/fpm/php.ini engine = On /etc/php/7.2/pool.d/www.con

Re: PHP-FPM, PHP code in browser

2018-10-07 Thread Benjamin Smith
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.

Re: PHP-FPM, PHP code in browser

2018-10-07 Thread Mike Wright
On 10/07/2018 01:09 PM, Benjamin Smith wrote: I'm unable to get PHP too actually *run* instead of just downloading the PHP sources. Coming from years of experience with Mod PHP wand I know that PHP FPM is different. I've confirmed that both RPMs (native FC 27) are installed, and that PHP-FPM an

Re: PHP-FPM, PHP code in browser

2018-10-07 Thread Eddie O'Connor
I found thisdunno if it will help? https://stackoverflow.com/questions/15023540/how-to-determine-which-script-is-being-executed-in-php-fpm-process#15029578 Sorry if this posts in the wrong positionI'm sending from my phone while out and about! EGO II On Sun, Oct 7, 2018, 4:10 PM Benja

PHP-FPM, PHP code in browser

2018-10-07 Thread Benjamin Smith
I'm unable to get PHP too actually *run* instead of just downloading the PHP sources. Coming from years of experience with Mod PHP wand I know that PHP FPM is different. I've confirmed that both RPMs (native FC 27) are installed, and that PHP-FPM and Apache are installed. I tried moving /etc/https/