Citeren Bjoern Voigt <bjoernv@arcor.de>:
Is someone successfully using PHP-FPM and PHP 7.3.0 on Tumbleweed?
I do. Except for php7-memcached (which needed an upgrade) it has been smooth sailing.
None of my PHP applications worked after upgrading PHP-PHP and PHP, even simple phpinfo-scripts. I use the latest Apache2, PHP and PHP-FPM packages.
At the beginning I used the old configuration from PHP 7.2, later I updated the configuration from *.rpmnew files. It did not help.
Even the status check does not work:
/etc/php7/fpm/php-fpm.d/www.conf: [...] pm.status_path = /status [...]
myusername@mybox:~> SCRIPT_NAME=/status \
SCRIPT_FILENAME=/status \ QUERY_STRING=full \ REQUEST_METHOD=GET \ cgi-fcgi -bind -connect 127.0.0.1:9000
Primary script unknownStatus: 404 Not Found X-Powered-By: PHP/7.3.0 Content-type: text/html; charset=UTF-8
File not found.
Unfortunately I didn't get useful logs from PHP-FPM, e.g. the "cgi-fcgi" script does not product logs for PHP-FPM.
I think the 'modern' way of running PHP-FPM is through mod_proxy_fcgi. At least that is what I do here; <IfModule mod_proxy_fcgi.c> <FilesMatch "\.php$"> # Note: The part that matters is /var/run/php-fpm/www.sock SetHandler "proxy:unix:/var/run/php-fpm/www.sock|fcgi://localhost" </FilesMatch> # Add index.php to the list of index pages. DirectoryIndex index.php </IfModule> This is basically all I do (running the 'event' MPM) and I have not modified anything in this. Note that I run PHP-FPM on a UNIX socket.
I gave up and returned to MOD_PHP7 (apache2-mod_php7). MOD_PHP7 works.
Greetings, Björn
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org