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 and Apache are installed. I tried moving /etc/https/conf.modules/PHP.conf. I've looked at /etc/https/php.conf and read all comments. I've restarted phpfpm and Apache via system ctl. I've restarted the system. How do I get Apache to connect to Phpfpm for PHP scripts?
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.conf listen = /run/php/php7.2-fpm.sock /etc/apache2/apache2.conf SetHandler "proxy:unix:/var/run/php/php7.2-fpm.sock|fcgi://localhost/" These three things are pretty straight forward. Enable the php-fpm engine, Specify where the php-fpm socket is to be created, Tell apache where to find the socket and how to access it On fedora these files may reside elsewhere. Use "locate" and "grep". hth, :m _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx