Hi, Am 06.03.21 um 05:01 schrieb David C. Rankin:
On 3/5/21 5:19 PM, Wolfgang Rosenauer wrote:
I'm really quite lost currently. I'm trying to change my LAMP setup based on 15.2 to use event MPM and PHP through fcgi and fpm.
I set it up per:
When I look at the section "Using php-fpm and mod_proxy_fcgi" which is what I want to achieve it doesn't hold any new information though. php-fpm is running and listening on 127.0.0.1:9000 proxy modules in apache are loaded: proxy_module (shared) proxy_http_module (shared) proxy_fcgi_module (shared) /etc/apache2/conf.d/mod_fcgid.conf is left quite default but: DirectoryIndex /index.php index.php <FilesMatch "\.php$"> SetHandler "proxy:fcgi://127.0.0.1:9000" </FilesMatch> But still as described accessing the web page (incl. php scripts directly) does not "run" PHP.
Which basically leaves you with the following related httpd.conf entries:
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
Want to use event but that doesn't appear to be the issue.
LoadModule unixd_module modules/mod_unixd.so > <IfModule unixd_module> LoadModule fcgid_module modules/mod_fcgid.so </IfModule>
What is this about? It seems not required when using fpm
... LoadModule php_module modules/libphp.so AddHandler php-script .php
libphp.so is not in use when using fpm I think? So your setup is not really using the fcgid / fpm combination I'd say I'm trying to leverage? Thanks for trying to help anyway, Wolfgang