unix:linux:debian:devuan_sury
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
unix:linux:debian:devuan_sury [2023/01/29 01:51] – rodolico | unix:linux:debian:devuan_sury [2023/01/29 03:04] – rodolico | ||
---|---|---|---|
Line 70: | Line 70: | ||
service php8.1-fpm restart | service php8.1-fpm restart | ||
</ | </ | ||
+ | |||
+ | ===== Problems ===== | ||
+ | |||
+ | I found that when the new repository is used, it will have more recent versions of some of the existing php modules and will update them. Occasionally, | ||
+ | |||
+ | **PHP Warning: | ||
+ | |||
+ | The solution is to find which PHP version does not have the apcu module installed, then install it. The following BASH script will look for all versions of PHP and try to run them (using the -v, or version flag). Look for the one that gives you an error. This can be copied and pasted directly into the command line. | ||
+ | |||
+ | <code bash> | ||
+ | #! / | ||
+ | clear | ||
+ | for version in $(/ | ||
+ | do | ||
+ | echo ======== | ||
+ | echo Testing Version ${version} | ||
+ | | ||
+ | done | ||
+ | </ | ||
+ | |||
+ | In my case, PHP 7.3 gave an error message, and 7.4 and 8.0 did not. So | ||
+ | <code bash> | ||
+ | apt install php7.3-apcu | ||
+ | </ | ||
+ | |||
+ | fixed the problem. | ||
===== References ===== | ===== References ===== | ||
unix/linux/debian/devuan_sury.txt · Last modified: 2023/03/14 21:13 by rodolico