PHP version list

@tlweb I found a little bug which was also in the original plugin.
When one changes php versions, for example current situation:
php1_release=8.1
php1_mode=php-fpm
php2_release=8.2
php3_release=8.3
(or any other versions) and we want to swap the first PHP version to a new version as DA uses this for default.

Then it would become for example:
php1_release=8.3
php1_mode=php-fpm
php2_release=8.2
php3_release=8.1

After doing this, everything is updated, except for the PHP version list which still shows the old order, so still shows php 8.1 on top as first version, while that should have been changed to php 8.3.
So I guess it need some check to keep the release versions in the correct order, right?
 
@tlweb I found a little bug which was also in the original plugin.
When one changes php versions, for example current situation:
php1_release=8.1
php1_mode=php-fpm
php2_release=8.2
php3_release=8.3
(or any other versions) and we want to swap the first PHP version to a new version as DA uses this for default.

Then it would become for example:
php1_release=8.3
php1_mode=php-fpm
php2_release=8.2
php3_release=8.1

After doing this, everything is updated, except for the PHP version list which still shows the old order, so still shows php 8.1 on top as first version, while that should have been changed to php 8.3.
So I guess it need some check to keep the release versions in the correct order, right?
I guess you are talking about the PHP version summary table, which is forced to be sorted on number from low to high.
To avoid that this summary will look like an not organized table.
 
I guess you are talking about the PHP version summary table, which is forced to be sorted on number from low to high.
Yes, then I probably got lucky that I had them from low to high in the beginning, didn't notice that.
I've seen that on both versions, yours and the one from tlweb. I thought the order would be taken from the options list but then I'm wrong.
 
Back
Top