# v-change-sys-db-alias 'pma' "phpmyadmin"
ls: cannot access '/usr/sbin/php*fpm*': No such file or directory
ls: cannot access '/usr/sbin/php*fpm*': No such file or directory
# ls /usr/sbin/ | grep php
phpdismod
phpenmod
phpquery
You need to have some php runtime to get php scripts working. I suggest to switch over to fpm, then set the website under advanced to “no socket” - so there will be no php enabled for the specific domain.
usualy not, but there is no warantee. If you have critical infra, take out your sysadmin skills, clone the system and do a prerun including documentation and testing - then you can be sure all is working well :).
That arent problems, that’s called maintenance . You could also go the way @eris suggested above to get pma working on mod_php - but we still suggest to switch over to fpm.
It didn’t work out, I’m restoring the backup. I’ll try to replace myPHPadmin with Adminer
bash migrate_apache.sh
E: Repository 'https://packages.sury.org/apache2 buster InRelease' changed its 'Suite' value from '' to 'buster'
E: Repository 'https://packages.sury.org/php buster InRelease' changed its 'Suite' value from '' to 'buster'
Installing PHP-7.4, please wait... |
ERROR: Installation failed, please run the following command manually for debugging:
apt-get install php7.4-mbstring php7.4-bcmath php7.4-cli php7.4-curl
php7.4-fpm php7.4-gd php7.4-intl php7.4-mysql
php7.4-soap php7.4-xml php7.4-zip php7.4-mbstring
php7.4-json php7.4-bz2 php7.4-pspell php7.4-imagick
php7.4-imap php7.4-ldap
Enabling module proxy.
Enabling module proxy_fcgi.
cp: cannot create regular file '/etc/php/7.4/fpm/pool.d/': No such file or directory
sed: can't read /etc/php/7.4/fpm/pool.d/dummy.conf: No such file or directory
cp: cannot create regular file '/etc/php/7.4/fpm/pool.d/www.conf': No such file or directory
Failed to start php7.4-fpm.service: Unit php7.4-fpm.service not found.
Error: php7.4-fpm start failed
apt-get install php7.4-mbstring php7.4-bcmath php7.4-cli php7.4-curl php7.4-fpm php7.4-gd php7.4-intl php7.4-mysql php7.4-soap php7.4-xml php7.4-zip php7.4-mbstring php7.4-json php7.4-bz2 php7.4-pspell php7.4-imagick php7.4-imap php7.4-ldap
...
Err:1 https://packages.sury.org/php buster/main amd64 php7.4-bcmath amd64 7.4.14-1+0~20210112.34+debian10~1.gbpaa175a
404 Not Found [IP: 104.21.18.148 443]
Err:2 https://packages.sury.org/php buster/main amd64 php7.4-fpm amd64 7.4.14-1+0~20210112.34+debian10~1.gbpaa175a
404 Not Found [IP: 104.21.18.148 443]
Err:3 https://packages.sury.org/php buster/main amd64 php7.4-soap amd64 7.4.14-1+0~20210112.34+debian10~1.gbpaa175a
404 Not Found [IP: 104.21.18.148 443]
E: Failed to fetch https://packages.sury.org/php/pool/main/p/php7.4/php7.4-bcmath_7.4.14-1+0~20210112.34+debian10~1.gbpaa175a_amd64.deb 404 Not Found [IP: 104.21.18.148 443]
E: Failed to fetch https://packages.sury.org/php/pool/main/p/php7.4/php7.4-fpm_7.4.14-1+0~20210112.34+debian10~1.gbpaa175a_amd64.deb 404 Not Found [IP: 104.21.18.148 443]
E: Failed to fetch https://packages.sury.org/php/pool/main/p/php7.4/php7.4-soap_7.4.14-1+0~20210112.34+debian10~1.gbpaa175a_amd64.deb 404 Not Found [IP: 104.21.18.148 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?