Original Message:
Sent: Tue February 28, 2023 07:55 AM
From: RESHMA KUMAR
Subject: PHP 8.1.12 in AIX Toolbox
Yes, we are looking into updating ganglia-web with php8.
------------------------------
RESHMA KUMAR
Original Message:
Sent: Mon February 27, 2023 10:07 AM
From: Stephan Dietl
Subject: PHP 8.1.12 in AIX Toolbox
Hello @RESHMA KUMAR !
Is it planned for old software like ganglia(-web) to make it installable with php8? Thanks!
[]# rpm -q --provides php8*config(php8) = 8.1.12-1libphp.somod_php = 8.1.12-1php8 = 8.1.12-1soap.so[]# rpm -q --requires ganglia-web /bin/bash/bin/shphp >= 5.2rpmlib(CompressedFileNames) <= 3.0.4-1rpmlib(PayloadFilesHavePrefix) <= 4.0-1[]# rpm -q --whatrequires php ganglia-web-3.7.2-3.noarch[] # dnf install php8 --allowerasingLast metadata expiration check: 0:02:00 ago on Mon Feb 27 14:48:06 MET 2023.Dependencies resolved.==============================================================================================================================================================================================================================================Package Architecture Version Repository Size==============================================================================================================================================================================================================================================Installing:php8 ppc 8.1.12-1 AIX_Toolbox 7.7 MInstalling dependencies:php8-common ppc 8.1.12-1 AIX_Toolbox 545 kRemoving dependent packages:ganglia-web noarch 3.7.2-3 @AIX_Toolbox_noarch 2.5 Mphp ppc 7.4.33-1 @AIX_Toolbox 30 M Transaction Summary==============================================================================================================================================================================================================================================Install 2 PackagesRemove 2 Packages Total download size: 8.2 MIs this ok [y/N]:
------------------------------
Stephan Dietl
Original Message:
Sent: Fri February 03, 2023 08:38 AM
From: RESHMA KUMAR
Subject: PHP 8.1.12 in AIX Toolbox
php 8.1.12 is now available in AIX Toolbox
https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/php8/
------------------------------
RESHMA KUMAR
Original Message:
Sent: Tue January 31, 2023 06:36 AM
From: RESHMA KUMAR
Subject: PHP 8.1.12 in AIX Toolbox
The latest version of php that is currently available in AIX Toolbox is 7.4.33. Version 7.4.x is no longer supported by the community and we will be uploading PHP 8.1.12 in AIX toolbox by this week.
PHP 8.x comes with several new features and some incompatibilities with PHP 7.x. Please refer to https://www.php.net/manual/en/migration80.php for further details. Due to these incompatibilities, if one has php scripts that make use of any feature that is modified or deprecated in PHP8, it may not work.
To alert users that this is a major php version change, PHP rpms are now named php8, instead of just php. Hence, to install php8, one has to run dnf install php8.
We have also added Conflicts: php<8 in php8 spec file so that if one has php 7.x rpms already installed on their system, then installation of php8 would fail with package conflict error as shown below.
package php8-8.1.12-1.ppc conflicts with php < 8 provided by php-7.4.33-1.ppc
In order to avoid this, make sure to uninstall php 7.x rpms before installing php8.
Note:
Since PHP 8.0, the PHP module for Apache has been renamed. The Apache module identifier is renamed to php_module. In PHP 7.x, it was named php7_module. So, we have modified httpd-php.conf file as follows.
LoadModule php_module /opt/freeware/lib/httpd/modules/libphp.so
Users won't be impacted by this, it's just for information.
------------------------------
RESHMA KUMAR
------------------------------