From 82b7377940767e38f5e2966ef48e83c03292dd80 Mon Sep 17 00:00:00 2001 From: James Read Date: Fri, 10 Oct 2025 18:34:27 +0100 Subject: [PATCH 1/2] chore: set min php version to 8.2 --- amp_conf/htdocs/admin/libraries/Composer/composer.json | 2 +- install | 4 ++-- install.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/amp_conf/htdocs/admin/libraries/Composer/composer.json b/amp_conf/htdocs/admin/libraries/Composer/composer.json index c21847cfb5..a00d5b8316 100644 --- a/amp_conf/htdocs/admin/libraries/Composer/composer.json +++ b/amp_conf/htdocs/admin/libraries/Composer/composer.json @@ -59,7 +59,7 @@ }, "config": { "platform": { - "php": "8.1.0" + "php": "8.2.29" }, "autoloader-suffix": "pbxframework", "optimize-autoloader": true diff --git a/install b/install index 3013dd5443..e8119aa9ac 100755 --- a/install +++ b/install @@ -2,8 +2,8 @@ checkStatus("sysadmin")) { From b8c8291972bb05d8ef360bd2ec24df733469eb8f Mon Sep 17 00:00:00 2001 From: James Read Date: Fri, 10 Oct 2025 18:35:49 +0100 Subject: [PATCH 2/2] chore: removing php 4.2 version check --- amp_conf/htdocs/admin/helpers/Email.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/amp_conf/htdocs/admin/helpers/Email.php b/amp_conf/htdocs/admin/helpers/Email.php index 412a54407c..f0ac6f7d6a 100644 --- a/amp_conf/htdocs/admin/helpers/Email.php +++ b/amp_conf/htdocs/admin/helpers/Email.php @@ -1577,11 +1577,6 @@ private function _send_with_sendmail() $status = pclose($fp); - if (version_compare(PHP_VERSION, '4.2.3') == -1) - { - $status = $status >> 8 & 0xFF; - } - if ($status != 0) { $this->_set_error_message('email_exit_status', $status);