Hi, I installed multiple PHP versions according to https://www.howtoforge.com/tutorial...fig-3-from-debian-packages-on-debian-8-and-9/. Now I can select each version in the Web Domain's PHP version selection, but it doesn't seem to have any effect. PHPs will always execute with version 7.4, no matter which version is selected. Did I miss a step during setup? thx, Stefan
Check all the paths in your additional php version settings. After that, enable server debugging, change the php version for a site, and see what messages you get running server.sh from the cli.
Ok, no effect was probably just a cashing issue. After waiting for a minute or so, php version changed at least for FastCGI. Selecting FPM throws an Error 503 - Service unavailable! now. That might be a problem in th php version settings. The How-To says: Path to the PHP-FPM init script: phpX-fpm however, the picture shows something like /etc/init.d/php-X-fpm The latter file is not existing, so I took phpX-fpm without a path. Is that correct? thx, Stefan
Thanks for your help. The file is existing (don't know why I didn't recognize it before) and when I change the entry to /etc/init.d/phpX-fpm everything is working perfectly. Maybe you could change the How-to. Just as a sidenote: I'm using the repository ppandrej/php
That repository is for Ubuntu. For Debian, you have to use packages.sury.org. I notice you never mentioned what OS you have, I assumed it was Debian since you wrote you used the tutorial for Debian.