Mailinglist Archive: opensuse-factory (355 mails)

< Previous Next >
Re: [opensuse-factory] php7-fpm setup does not work anymore
Citeren Bjoern Voigt <bjoernv@xxxxxxxx>:

Arjen de Korte wrote:
You may want to add

# zypper al apache2-mod_php7

This will prevent accidentally installing and enabling it again. I've
seen similar breakage in the past too, where the 'event' MPM failed to
start because mod_php was enabled in a %post script.
Thanks, but this breaks the PHP7 updates and I have to install them
manually with

# zypper in --download-only apache2-mod_php7; rpm --justdb -Uvh
--nodeps" (example)

My "zypper dup" command line also solves the problem:

# zypper ref; zypper dup; a2dismod php7

In my case the Nextcloud server has a dependency to mod_php7 but in fact
Nextcloud works with PHP-FPM too:

# rpm -qR nextcloud | grep mod_php
mod_php_any >= 7.2.0
mod_php_any < 7.5.0

The 'mod_php_any' dependency is a nasty one. Ideally the 'php7-fpm' package should also provide 'mod_php_any' and conflict with 'apache2-mod_php7' to prevent this situation from happening in the first place. I'm not sure why we don't have this already, but it probably has to do with the fact that 'php7-fpm' will not provide a working solution out of the box while 'apache2-mod_php7' does.

To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >