You are not logged in.
Hi, I upgraded php to php8, only to discover many of the web services I run is incompatible. Well, it almost didn't matter because I run several other versions of php with php-fpm/fastcgi. Unfortunately for reasons that I have been unable to identify, I can't run correctly nextcloud with php-fpm.
(If I try php73 or php74, it gives internal server error, and if I try php72, I get a severe performance issue). So I would like to downgrade php to php7.
I have still package files in the cache, but if I uninstall the current version php/php-apache and install older version, pacman complains about /usr/lib/libphp.so not being a symbolic link, and apache wouldn't start and throws an error message
[mpm_prefork:notice] [pid 71047] AH00170: caug
ht SIGWINCH, shutting down gracefully
in the log. How can I downgrade php?
Last edited by kde35 (2021-02-13 14:05:18)
Offline
https://archlinux.org/news/php-80-and-p … available/
https://bbs.archlinux.org/viewtopic.php?id=263111
There is php7-apache, the module is called mod_php7 and/or php7_module I think.
Last edited by progandy (2021-02-12 19:00:42)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Thank you very much, the thread looks like what I have been looking for. I will try and come back later. As to the news, I had read it before upgrading php @(
Offline
OK, I got this, it suffices to install php7, php7-apache etc. and edit apache configuration file with
LoadModule php7_module modules/libphp7.so
to "downgrade" php. This settled SIGWINCH apache shutdown issue. Copying old php.ini with modifications in paths and directory seetings section settled the internal server error issue of Nextcloud. Thank you very much.
Offline