Page 6 of 6
Re: How to install multi PHP versions
Posted: Sat Apr 26, 2025 1:31 pm
by mehargags
I just installed on a Debian 10 fresh install server. Have to use Debain 10.13 due to Python 3.7.3 version lock for dependecies on my django app. Default PHP is 7.3 on Deb 10
After running multi-php to install PHP 7.4 and PHP 8.2, it installed well, the tempaltes seem to appear in the web templates to choose but in real the process has not installed any addiotional PHP.
ls -l /etc/init.d/php*
only shows 7.3 which is default install
-rwxr-xr-x 1 root root 4793 Jun 18 2024 /etc/init.d/php7.3-fpm
inside /etc/php also I only see 7.3, folder structure was not created either.
any clue how to get this done on old Debian 10 ?
Re: How to install multi PHP versions
Posted: Sat Apr 26, 2025 3:40 pm
by myVesta
mehargags wrote: ↑Sat Apr 26, 2025 1:31 pm
I just installed on a Debian 10 fresh install server. Have to use Debain 10.13 due to Python 3.7.3 version lock for dependecies on my django app. Default PHP is 7.3 on Deb 10
After running multi-php to install PHP 7.4 and PHP 8.2
Sorry, but Sury.org repo dropped support for Debian 10, because Deb10 reached EOL phase -
https://github.com/oerdnj/deb.sury.org/issues/2098
You can get it only with payment to them -
https://www.freexian.com/lts/php/
Re: How to install multi PHP versions
Posted: Tue Aug 19, 2025 2:35 pm
by Meister
After getting myvestacp up and running on Debian 13, I customized the multi-php-install. With PHP 7.4, I got the error "Error: Unable to locate package php7.4-memcached
Error: Couldn't find any package by glob ‘php7.4-memcached’
update-rc.d: error: unable to read /etc/init.d/php7.4-fpm." I simply removed php7.4-memcached and then it worked for PHP 7.4. Perhaps you can still fix the error?
I have attached it for your reference. I have only tested the installation with PHP 5.6, PHP 7.4, and PHP 8.4. The php7.4-memcached error may also occur with other PHP 7.x versions.
Re: How to install multi PHP versions
Posted: Sat Aug 23, 2025 5:12 pm
by myVesta
Meister wrote: ↑Tue Aug 19, 2025 2:35 pm
After getting myvestacp up and running on Debian 13, I customized the multi-php-install. With PHP 7.4, I got the error "Error: Unable to locate package php7.4-memcached
Error: Couldn't find any package by glob ‘php7.4-memcached’
update-rc.d: error: unable to read /etc/init.d/php7.4-fpm." I simply removed php7.4-memcached and then it worked for PHP 7.4. Perhaps you can still fix the error?
I have attached it for your reference. I have only tested the installation with PHP 5.6, PHP 7.4, and PHP 8.4. The php7.4-memcached error may also occur with other PHP 7.x versions.
Support for Deb13 is in early test phase.
Please tell me what line you modified -
https://github.com/myvesta/vesta/blob/m ... install.sh
Re: How to install multi PHP versions
Posted: Sat Aug 23, 2025 10:18 pm
by Meister
I removed php7.4-memcached in line 275. It appears to be duplicated in all PHP versions. How did this occur

?
Edit: No, it's not duplicated, but it says the following: php7.4-memcache php7.4-memcached
php7.4-memcached should be removed, as should the other PHP versions.
Re: How to install multi PHP versions
Posted: Sun Aug 24, 2025 1:38 pm
by myVesta
Meister wrote: ↑Sat Aug 23, 2025 10:18 pm
I removed php7.4-memcached in line 275. It appears to be duplicated in all PHP versions. How did this occur

?
Edit: No, it's not duplicated, but it says the following: php7.4-memcache php7.4-memcached
php7.4-memcached should be removed, as should the other PHP versions.
If php-memcached modules do not exist in Sury.org repo, it should be reported to him - and actually somebody already did it -
https://codeberg.org/oerdnj/deb.sury.org/issues/8
Re: How to install multi PHP versions
Posted: Sun Aug 24, 2025 8:14 pm
by Meister
Yes, you're right. Let's wait and see. I think he'll send the package later. As long as it's not there yet, you can leave it out, because you often don't need it anyway.