Skip to content

Commit

Permalink
Fix phpMyAdmin supported PHP versions
Browse files Browse the repository at this point in the history
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
  • Loading branch information
MauricioFauth committed Sep 6, 2024
1 parent 1a311fd commit d17b835
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions files/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ def get_version_suffix(self):

def get_php_versions(self):
if self.version[:3] == '6.0':
return '>=8.1,<8.3'
return '>=8.2,<8.4'
elif self.version[:3] == '5.2':
return '>=7.2,<8.3'
return '>=7.2,<8.4'
elif self.version[:3] == '5.1':
return '>=7.1,<8.1'
elif self.version[:3] == '5.0':
Expand Down Expand Up @@ -234,7 +234,7 @@ def get_version_info(self):
)
elif self.version[:3] == '6.0':
text = (
'Future version compatible with PHP 8.1 and newer and MySQL/MariaDB 5.5 and newer. '
'Future version compatible with PHP 8.2 and newer and MySQL/MariaDB 5.5 and newer. '
)
elif self.version[:3] == '5.2':
text = (
Expand Down

0 comments on commit d17b835

Please sign in to comment.