Dear team, I have search for an anwser to my questions but there so many answers for 3.1 for guys who are looking to undestand https for their own website that i post this question. I apologise if it's already existing somewhere. I have installed last version of ISPConfig. It's working great and i would like to have the https on the ispconfig panel. i mean when you access to the port 8080. (standard conf in my case). How could you do that ? Thanks for your help
This is indeed answered frequently, even in another post today already. SSL for the ISPConfig GUI is configured automatically during installation by default. If you disabled it or if you missed configuring DNS for the hostname before you installed it, then run: ispconfig_update.sh --force and choose to reconfigure SSL certificate during update.
I get this : Code: # ispconfig_update.sh --force -------------------------------------------------------------------------------- _____ ___________ _____ __ _ |_ _/ ___| ___ \ / __ \ / _(_) | | \ `--.| |_/ / | / \/ ___ _ __ | |_ _ __ _ | | `--. \ __/ | | / _ \| '_ \| _| |/ _` | _| |_/\__/ / | | \__/\ (_) | | | | | | | (_| | \___/\____/\_| \____/\___/|_| |_|_| |_|\__, | __/ | |___/ -------------------------------------------------------------------------------- >> Update Please choose the update method. For production systems select 'stable'. WARNING: The update from GIT is only for development systems and may break your current setup. Do not use the GIT version on servers that host any live websites! Note: On Multiserver systems, enable maintenance mode and update your master server first. Then update all slave servers, and disable maintenance mode when all servers are updated. Select update method (stable,nightly,git-develop) [stable]: Downloading ISPConfig update. Unpacking ISPConfig update. -------------------------------------------------------------------------------- _____ ___________ _____ __ _ ____ |_ _/ ___| ___ \ / __ \ / _(_) /__ \ | | \ `--.| |_/ / | / \/ ___ _ __ | |_ _ __ _ _/ / | | `--. \ __/ | | / _ \| '_ \| _| |/ _` | |_ | _| |_/\__/ / | | \__/\ (_) | | | | | | | (_| | ___\ \ \___/\____/\_| \____/\___/|_| |_|_| |_|\__, | \____/ __/ | |___/ -------------------------------------------------------------------------------- >> Update PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 841 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 841 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 843 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 1528 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 1536 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 1715 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 1726 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 1734 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 1871 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 1938 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 1939 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 1941 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 1953 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 1970 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 1971 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 1971 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 1973 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 1973 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 1983 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 1984 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 1984 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 1986 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 1986 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 1998 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 1999 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 1999 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 2001 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /tmp/update_runner.sh.FdX7toT0r8/install/lib/installer_base.lib.php on line 2001 Operating System: Debian 10.0 (Buster) or compatible PHP Curl Module is missing. PHP MySQLi Module is nmissing. PHP Multibyte Module (MB) is missing. Bizar, so i did : Code: cat /etc/debian_version 10.13 What do you think about ?
You probably changed default PHP version, which breaks your setup. Plus the current default PHP version lacks all kinds of required modules. What is the output of: PHP --version it must show 7.3 on Debian 10. See read before posting post on how to set the correct PHP version again in case you changed it to the wrong version. https://forum.howtoforge.com/threads/please-read-before-posting.58408/
You're right. I was not expecting it will be a problem. Ok i will enable the previous one. Short question : Is this a problem for ispconfig to have the last php version 8.x ? Thanks
All applications that belong to the OS, incl. ISPConfig expects that the default PHP version is the one that ships with the OS, so do not alter that as it breaks other applications like phpmyadmin and webmail too, plus other PHP bases apps installed as .deb package. If you want to have a newer default version, update Debian to Debian 11. ISPConfig supports PHP 8.1 on Ubuntu 22.04, as the default PHP version of Ubuntu 22.04 is PHP 8.1. Also it makes not much sense to ask if php 8.x is supported by a application as php 8.0, 8.1 and 8.2 are very different and just because 8.0 or 8.1 are supported by a app is no indication that it might work with PHP 8.2.
Ok perfect, well understood. So, sorry to get back but trying to be back on the previous version : Code: root@toto:~# php -v PHP 8.2.5 (cli) (built: Apr 14 2023 04:40:29) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.5, Copyright (c) Zend Technologies with Zend OPcache v8.2.5, Copyright (c), by Zend Technologies root@toto:~# a2dismod php8.2 Module php8.2 already disabled root@toto:~# a2dismod php8.2.5 ERROR: Module php8.2.5 does not exist! root@toto:~# a2dismod php8.2.5. ERROR: Module php8.2.5. does not exist! root@toto:~# php -v PHP 8.2.5 (cli) (built: Apr 14 2023 04:40:29) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.5, Copyright (c) Zend Technologies with Zend OPcache v8.2.5, Copyright (c), by Zend Technologies root@toto:~# a2enmod php7.3 Considering dependency mpm_prefork for php7.3: Considering conflict mpm_event for mpm_prefork: Considering conflict mpm_worker for mpm_prefork: Module mpm_prefork already enabled Considering conflict php5 for php7.3: Module php7.3 already enabled root@toto:~# Of course after have changer i did a systemctl restart apache2 So please, what i missed ?
You should have read: https://forum.howtoforge.com/threads/please-read-before-posting.58408/ Read the part about "Panel not showing up / server.sh script error".
Yep, thanks for link, it works. Last thinks which i would like to fix (and again tks for the help ): Code: php -v PHP Warning: PHP Startup: Unable to load dynamic library 'memcache.so' (tried: /usr/lib/php/20180731/memcache.so (/usr/lib/php/20180731/memcache.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/memcache.so.so (/usr/lib/php/20180731/memcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 PHP 7.3.33-10+0~20230409.104+debian10~1.gbp88ff76 (cli) (built: Apr 9 2023 16:50:14) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.33, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.3.33-10+0~20230409.104+debian10~1.gbp88ff76, Copyright (c) 1999-2018, by Zend Technologies How could i fix it ? I try to apt update and apt upgrade but not works ...
Probably php-memcache is not installed for that version of PHP. Check with Code: apt policy php7.3-memcache dpkg --list | grep -i memcache
Thanks, with your command, i found ... that it looks working with 8.3, zut, it looks again that i create a mess with installing a new version : Code: root@toto:~# apt policy php7.3-memcache php7.3-memcache: Installed: (none) Candidate: 8.0+4.0.5.2+3.0.9~20170802.e702b5f9+-8+0~20221209.29+debian10~1.gbp59de0d Version table: 8.0+4.0.5.2+3.0.9~20170802.e702b5f9+-8+0~20221209.29+debian10~1.gbp59de0d 500 500 https://packages.sury.org/php buster/main amd64 Packages root@toto:~# dpkg --list | grep -i memcache ii memcached 1.5.6-1.1 amd64 high-performance memory object caching system ii php-memcache 8.0+4.0.5.2+3.0.9~20170802.e702b5f9+-8+0~20221209.29+debian10~1.gbp59de0d amd64 memcache extension module for PHP ii php8.2-memcache 8.0+4.0.5.2+3.0.9~20170802.e702b5f9+-8+0~20221209.29+debian10~1.gbp59de0d amd64 memcache extension module for PHP root@toto:~# php -v PHP Warning: PHP Startup: Unable to load dynamic library 'memcache.so' (tried: /usr/lib/php/20180731/memcache.so (/usr/lib/php/20180731/memcache.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/memcache.so.so (/usr/lib/php/20180731/memcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 PHP 7.3.33-10+0~20230409.104+debian10~1.gbp88ff76 (cli) (built: Apr 9 2023 16:50:14) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.33, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.3.33-10+0~20230409.104+debian10~1.gbp88ff76, Copyright (c) 1999-2018, by Zend Technologies Any idea to get back to the memcache 7.3 ?
Each time you install a PHP version it becomes the new default version. So default is the most recently installed PHP. You already know how to set default PHP back to the original. Code: apt install php7.3-memcache