Hi, i have a strange problem. In the logs i get http 503 for Webmail, PHPMyAdmin and some Websites. The only thing i changed was to deactivate one site/account and after approx 30min activate the site/account. Since that so i think i got 503 on some websites and for Webmail and PHPMyAdmin. Strange if i switch the PHP Version from e.g. 8.2 to 8.1 the site runs, but other site not. If i switch that site than to 8.0 this site runs again, but if i switch back the site, it is not running while other sites on same PHP Vers. runs (http 200). In Apache and Web Logs i cant find a hint of maybe ressource limitation or any thing else. For phpmyadmin e.g. the log shows: "GET /phpmyadmin HTTP/2.0" 301 536 "-" "curl/7.74.0". ISP Panel is running. System runs on latest Debian 11, ISP is up2date and all packages updated. Any one any idea?
The URL to phpmyadmin is https://server.yourdomain.tld:8081/phpmyadmin Accessing phpmyadmin trough a website domain does not work reliably as it depends on the website settings, cms in that site, PHP version etc. That's why ISPConfig has the apps vhost, and applications like phpmyadmin and RoundCube should be accessed through apps vhost only.
Access to /webmail and /phpmyadmin works since years, since i installed ispconfig over my landing page. That would not explain why some websites show http 503.
It may work in your specific config, and if it does, then that's fine. I just posted it so you know it will not work reliably in all configurations and that its worth checking if it is working when you use the correct apps vhost URL.
Hi, under additional php version and php-fpm option i see the field "PHP-FPM socket directory" which is empty in all my configs. Is this field new? Ok found old thread in the forum. So its empty and uses system default for all sites.
Ok, i restart the server and all websites are reachable, webmail and phpmyadmin too. I would know why but cant explain it. System memory was ok too and i got no other error. Ideas are welcome - thx for your time.
Ok, thanks. While iam looking for the reason i see in the vhost.conf of one website the configuration for the php-fpm sock "var/lib/php7.4-fpm/web20.sock". In ISPconfig i configure for the website php8.2. Is that correct?
Yes, that's fine and as it should be. You can not see which PHP version sites is using by looking at the vhost file. The number 7.4 in the folder name is not the PHP version used by this site, its just the global folder name for all PHP sockets.
Ok understand that. Is there anywhere a possibility to see the php version except in the db itself and isp ui?
Ok find it, thanks. Strange ISP UI shows for 8.2 1 configured website. In the php-fpm pool dir for PHP 8.2 are 6 Configfiles. And one of them is in 8.2 but in the ISP UI configured as 8.1, but in fpm pool for 8.1 there is no config? Any idea? delete and restart apache2? Where they not deleted if php version switches?
ISPConfig deletes the file when you switch PHP version. So, most likely, the process was interrupted. You can delete the pool file and restart that php-fpm version manually. If you want to know in detail what's going on when you switch PHP versions, then take a look at the debug instructions: https://www.faqforge.com/linux/debugging-ispconfig-3-server-actions-in-case-of-a-failure/