restarting php5.6-fpm did the trick Now checking the ispconfig let'sencrypt checkbox and save leaves the let'encrypt checkbox unchecked Runing certbot -n renew gives many errors like: Code: Cleaning up challenges Encountered exception during recovery: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 75, in handle_authorizations resp = self._solve_challenges(aauthzrs) File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 139, in _solve_challenges resp = self.auth.perform(all_achalls) File "/usr/lib/python3/dist-packages/certbot/plugins/webroot.py", line 83, in perform self._create_challenge_dirs() File "/usr/lib/python3/dist-packages/certbot/plugins/webroot.py", line 172, in _create_challenge_dirs stat_path = os.stat(path) FileNotFoundError: [Errno 2] No such file or directory: 'usr/local/ispconfig/interface/acme'
Restarting php5.6-fpm did the trick Now the website can't connect to DB and phpmyadmin complains dpkg-l doesnt show any ref to php5.6-mysql is it normal ? installied php-mbstring with no success and discover that it uses php5.6 ?! Why ? update-alternatives --config php and php-cgi both show php7.3 I thought installing a complete buster from scratch would help but I find myself with a complete ununderstable and pretty time consuming configuration
You have to install the PHP mbstring module for all PHP versions you have on that host. Same for all required PHP modules.
There is no mbstring module for Sury php5.6-fpm Code: > dpkg -l php5.6* Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder | État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements |/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais) ||/ Nom Version Architecture Description +++-================-============================================-============-============================================================== ii php5.6 5.6.40-13+0~20191026.23+debian10~1.gbp37e45b all server-side, HTML-embedded scripting language (metapackage) un php5.6-calendar <aucune> <aucune> (aucune description n'est disponible) ii php5.6-cgi 5.6.40-13+0~20191026.23+debian10~1.gbp37e45b amd64 server-side, HTML-embedded scripting language (CGI binary) ii php5.6-cli 5.6.40-13+0~20191026.23+debian10~1.gbp37e45b amd64 command-line interpreter for the PHP scripting language ii php5.6-common 5.6.40-13+0~20191026.23+debian10~1.gbp37e45b amd64 documentation, examples and common module for PHP un php5.6-ctype <aucune> <aucune> (aucune description n'est disponible) un php5.6-exif <aucune> <aucune> (aucune description n'est disponible) un php5.6-fileinfo <aucune> <aucune> (aucune description n'est disponible) ii php5.6-fpm 5.6.40-13+0~20191026.23+debian10~1.gbp37e45b amd64 server-side, HTML-embedded scripting language (FPM-CGI binary) un php5.6-ftp <aucune> <aucune> (aucune description n'est disponible) un php5.6-gettext <aucune> <aucune> (aucune description n'est disponible) un php5.6-iconv <aucune> <aucune> (aucune description n'est disponible) ii php5.6-json 5.6.40-13+0~20191026.23+debian10~1.gbp37e45b amd64 JSON module for PHP ii php5.6-opcache 5.6.40-13+0~20191026.23+debian10~1.gbp37e45b amd64 Zend OpCache module for PHP un php5.6-pdo <aucune> <aucune> (aucune description n'est disponible) un php5.6-phar <aucune> <aucune> (aucune description n'est disponible) un php5.6-posix <aucune> <aucune> (aucune description n'est disponible) ii php5.6-readline 5.6.40-13+0~20191026.23+debian10~1.gbp37e45b amd64 readline module for PHP un php5.6-shmop <aucune> <aucune> (aucune description n'est disponible) un php5.6-sockets <aucune> <aucune> (aucune description n'est disponible) un php5.6-sysvmsg <aucune> <aucune> (aucune description n'est disponible) un php5.6-sysvsem <aucune> <aucune> (aucune description n'est disponible) un php5.6-sysvshm <aucune> <aucune> (aucune description n'est disponible) un php5.6-tokenizer <aucune> <aucune> (aucune description n'est disponible)
dpkg -l shows packages that are already installed. To see packages that are available in the repositories use this: Code: apt-cache search php5.6-mbstring To check if a package is installed or to see which repository it comes from, use this: Code: apt-cache policy php5.6-mbstring php5.6-mbstring: Asennettu: 5.6.40-13+0~20191026.23+debian9~1.gbp37e45b Ehdokas: 5.6.40-14+0~20191128.24+debian9~1.gbpa5b195 Versiotaulukko: 5.6.40-14+0~20191128.24+debian9~1.gbpa5b195 500 500 https://packages.sury.org/php stretch/main amd64 Packages *** 5.6.40-13+0~20191026.23+debian9~1.gbp37e45b 100 100 /var/lib/dpkg/status
Thanks a million guys. My websites are back now Just one question: where is the phpmyadmin vhost configuration ? I'd like to figure out why it's on php5.6 instead of 7.3
no phpmyadmin is a global alias and not a vhost, it uses the instaleld mod_php of the system when installed on an apache server- phpmyadmin has its own config file in /etc/apache2/conf.d/ or /etc/apache2/conf-enabled, so it's not in an ispconfig configuartion file.
More accurately, it uses the default php interpreter for your system, which is probably mod_php if you have that installed. I have been using php-fpm as the system default for a few years, with mod_php completely uninstalled, and phpmyadmin works fine.
I see in /etc/apache2/conf-enabled/phpmyadmin.conf: Code: SetHandler application/x-httpd-php How do I know to whitch php mod_php is connected ?