Koozali.org: home of the SME Server
Contribs.org Forums => Koozali SME Server 10.x => Topic started by: wdepot on August 25, 2023, 12:54:59 AM
-
Is there a way to use PHP 8.2 for an ibay? The highest PHP version listed by the Web Hosting contribution is PHP 8.1. I notice when I do yum list php* that it shows that files for PHP 8.2 and 8.3 are also installed on the server including the php82-php-fpm and php83-php-fpm files that I would assume would allow any given ibay to run either PHP 8.2 or PHP 8.3 while other ibays run another version. I would prefer to be able to test my web programming against the latest version of PHP (currently 8.2 until 8.3 gets out of beta) so I make sure I catch anything that will cause problems if the final site gets run on a higher version of PHP than it is currently using.
-
Is there a way to use PHP 8.2 for an ibay?
Hi,
Yes there will be and funnily enough I had done a patch earlier this year but got side tracked.
Please open a bug against smeserver-php and I'll try and get it fixed ASAP.
Thanks.
-
https://bugs.koozali.org/show_bug.cgi?id=12403
-
https://bugs.koozali.org/show_bug.cgi?id=12403
And thanks to the OP for opening the bug!!
-
And pushed to buildsys - I forgot the patch so had to re-add it and then commit and build again.
Should be out and about in a few hours.
-
I am going to try and patch for PHP 8.3 now.
https://bugs.koozali.org/show_bug.cgi?id=12405
-
* Mon Sep 04 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.0-47.sme
- Add php83 support [SME:12405]
Tagged with: smeserver-php-3_0_0-47_el7_sme
/usr/bin/plague-client build smeserver-php smeserver-php-3_0_0-47_el7_sme sme10
Package smeserver-php enqueued. Job ID: 4152.
Note some packages will be ~rc.
This is intended for developers who want to test PHP 8.3 but 8.3 should NOT be used on production sites.
-
Ready to test:
#4152 (smeserver-php): Build on target smeserver-10-core succeeded.
Build logs may be found at http://buildsys.contribs.org/logs/smeserver-10-core/4152-smeserver-php-3.0.0-47.el7.sme/
-
Thanks.
Installation of 8.2 :
[root@kooz2 ~]# yum update
Modules complémentaires chargés : fastestmirror, post-transaction-
: actions, priorities, smeserver
Loading mirror speeds from cached hostfile
* base: ftp.rezopole.net
* smeaddons: smeserver.de-labrusse.fr
* smecontribs: smeserver.de-labrusse.fr
* smeextras: smeserver.de-labrusse.fr
* smeos: smeserver.de-labrusse.fr
* smeupdates: smeserver.de-labrusse.fr
* updates: ftp.rezopole.net
Résolution des dépendances
--> Lancement de la transaction de test
---> Le paquet smeserver-php.x86_64 0:3.0.0-45.el7.sme sera mis à jour
---> Le paquet smeserver-php.x86_64 0:3.0.0-46.el7.sme sera utilisé
--> Traitement de la dépendance : php82-php-xmlrpc pour le paquet : smeserver-php-3.0.0-46.el7.sme.x86_64
--> Traitement de la dépendance : php82-php-xml pour le paquet : smeserver-php-3.0.0-46.el7.sme.x86_64
--> Traitement de la dépendance : php82-php-tidy pour le paquet : smeserver-php-3.0.0-46.el7.sme.x86_64
--> Traitement de la dépendance : php82-php-soap pour le paquet : smeserver-php-3.0.0-46.el7.sme.x86_64
--> Traitement de la dépendance : php82-php-snmp pour le paquet : smeserver-php-3.0.0-46.el7.sme.x86_64
--> Traitement de la dépendance : php82-php-process pour le paquet : smeserver-php-3.0.0-46.el7.sme.x86_64
--> Traitement de la dépendance : php82-php-pecl-zip pour le paquet : smeserver-php-3.0.0-46.el7.sme.x86_64
--> Traitement de la dépendance : php82-php-pear pour le paquet : smeserver-php-3.0.0-46.el7.sme.x86_64
--> Traitement de la dépendance : php82-php-pdo pour le paquet : smeserver-php-3.0.0-46.el7.sme.x86_64
--> Traitement de la dépendance : php82-php-opcache pour le paquet : smeserver-php-3.0.0-46.el7.sme.x86_64
--> Traitement de la dépendance : php82-php-mysqlnd pour le paquet : smeserver-php-3.0.0-46.el7.sme.x86_64
--> Traitement de la dépendance : php82-php-mbstring pour le paquet : smeserver-php-3.0.0-46.el7.sme.x86_64
--> Traitement de la dépendance : php82-php-ldap pour le paquet : smeserver-php-3.0.0-46.el7.sme.x86_64
--> Traitement de la dépendance : php82-php-json pour le paquet : smeserver-php-3.0.0-46.el7.sme.x86_64
--> Traitement de la dépendance : php82-php-intl pour le paquet : smeserver-php-3.0.0-46.el7.sme.x86_64
--> Traitement de la dépendance : php82-php-imap pour le paquet : smeserver-php-3.0.0-46.el7.sme.x86_64
--> Traitement de la dépendance : php82-php-gd pour le paquet : smeserver-php-3.0.0-46.el7.sme.x86_64
--> Traitement de la dépendance : php82-php-fpm pour le paquet : smeserver-php-3.0.0-46.el7.sme.x86_64
--> Traitement de la dépendance : php82-php-enchant pour le paquet : smeserver-php-3.0.0-46.el7.sme.x86_64
--> Traitement de la dépendance : php82-php-cli pour le paquet : smeserver-php-3.0.0-46.el7.sme.x86_64
--> Traitement de la dépendance : php82-php-bcmath pour le paquet : smeserver-php-3.0.0-46.el7.sme.x86_64
--> Traitement de la dépendance : php82-php pour le paquet : smeserver-php-3.0.0-46.el7.sme.x86_64
--> Lancement de la transaction de test
---> Le paquet php82-php.x86_64 0:8.2.10-1.el7.remi sera installé
--> Traitement de la dépendance : php82-php-sodium(x86-64) = 8.2.10-1.el7.remi pour le paquet : php82-php-8.2.10-1.el7.remi.x86_64
---> Le paquet php82-php-bcmath.x86_64 0:8.2.10-1.el7.remi sera installé
---> Le paquet php82-php-cli.x86_64 0:8.2.10-1.el7.remi sera installé
---> Le paquet php82-php-common.x86_64 0:8.2.10-1.el7.remi sera installé
--> Traitement de la dépendance : php82-runtime pour le paquet : php82-php-common-8.2.10-1.el7.remi.x86_64
---> Le paquet php82-php-enchant.x86_64 0:8.2.10-1.el7.remi sera installé
---> Le paquet php82-php-fpm.x86_64 0:8.2.10-1.el7.remi sera installé
---> Le paquet php82-php-gd.x86_64 0:8.2.10-1.el7.remi sera installé
---> Le paquet php82-php-imap.x86_64 0:8.2.10-1.el7.remi sera installé
---> Le paquet php82-php-intl.x86_64 0:8.2.10-1.el7.remi sera installé
---> Le paquet php82-php-ldap.x86_64 0:8.2.10-1.el7.remi sera installé
---> Le paquet php82-php-mbstring.x86_64 0:8.2.10-1.el7.remi sera installé
---> Le paquet php82-php-mysqlnd.x86_64 0:8.2.10-1.el7.remi sera installé
---> Le paquet php82-php-opcache.x86_64 0:8.2.10-1.el7.remi sera installé
---> Le paquet php82-php-pdo.x86_64 0:8.2.10-1.el7.remi sera installé
---> Le paquet php82-php-pear.noarch 1:1.10.13-5.el7.remi sera installé
---> Le paquet php82-php-pecl-xmlrpc.x86_64 0:1.0.0~rc3-2.el7.remi sera installé
---> Le paquet php82-php-pecl-zip.x86_64 0:1.22.2-1.el7.remi sera installé
---> Le paquet php82-php-process.x86_64 0:8.2.10-1.el7.remi sera installé
---> Le paquet php82-php-snmp.x86_64 0:8.2.10-1.el7.remi sera installé
---> Le paquet php82-php-soap.x86_64 0:8.2.10-1.el7.remi sera installé
---> Le paquet php82-php-tidy.x86_64 0:8.2.10-1.el7.remi sera installé
---> Le paquet php82-php-xml.x86_64 0:8.2.10-1.el7.remi sera installé
--> Lancement de la transaction de test
---> Le paquet php82-php-sodium.x86_64 0:8.2.10-1.el7.remi sera installé
---> Le paquet php82-runtime.x86_64 0:8.2-5.el7.remi sera installé
--> Résolution des dépendances terminée
Dépendances résolues
========================================================================
Package Architecture
Version Dépôt Taille
========================================================================
Mise à jour :
smeserver-php x86_64 3.0.0-46.el7.sme smeupdates 210 k
Installation pour dépendances :
php82-php x86_64 8.2.10-1.el7.remi remi-safe 2.0 M
php82-php-bcmath x86_64 8.2.10-1.el7.remi remi-safe 92 k
php82-php-cli x86_64 8.2.10-1.el7.remi remi-safe 4.0 M
php82-php-common x86_64 8.2.10-1.el7.remi remi-safe 733 k
php82-php-enchant x86_64 8.2.10-1.el7.remi remi-safe 76 k
php82-php-fpm x86_64 8.2.10-1.el7.remi remi-safe 2.1 M
php82-php-gd x86_64 8.2.10-1.el7.remi remi-safe 97 k
php82-php-imap x86_64 8.2.10-1.el7.remi remi-safe 101 k
php82-php-intl x86_64 8.2.10-1.el7.remi remi-safe 217 k
php82-php-ldap x86_64 8.2.10-1.el7.remi remi-safe 99 k
php82-php-mbstring x86_64 8.2.10-1.el7.remi remi-safe 540 k
php82-php-mysqlnd x86_64 8.2.10-1.el7.remi remi-safe 197 k
php82-php-opcache x86_64 8.2.10-1.el7.remi remi-safe 426 k
php82-php-pdo x86_64 8.2.10-1.el7.remi remi-safe 139 k
php82-php-pear noarch 1:1.10.13-5.el7.remi remi-safe 365 k
php82-php-pecl-xmlrpc x86_64 1.0.0~rc3-2.el7.remi remi-safe 48 k
php82-php-pecl-zip x86_64 1.22.2-1.el7.remi remi-safe 59 k
php82-php-process x86_64 8.2.10-1.el7.remi remi-safe 96 k
php82-php-snmp x86_64 8.2.10-1.el7.remi remi-safe 89 k
php82-php-soap x86_64 8.2.10-1.el7.remi remi-safe 196 k
php82-php-sodium x86_64 8.2.10-1.el7.remi remi-safe 95 k
php82-php-tidy x86_64 8.2.10-1.el7.remi remi-safe 86 k
php82-php-xml x86_64 8.2.10-1.el7.remi remi-safe 195 k
php82-runtime x86_64 8.2-5.el7.remi remi-safe 1.1 M
Résumé de la transaction
========================================================================
Installation ( 24 Paquets en dépendance)
Mettre à jour 1 Paquet
Taille totale des téléchargements : 13 M
Is this ok [y/d/N]: y
Downloading packages:
(1/25): php82-php-bcmath-8.2.10-1.el7.remi.x86_64. | 92 kB 00:00
(2/25): php82-php-8.2.10-1.el7.remi.x86_64.rpm | 2.0 MB 00:01
(3/25): php82-php-common-8.2.10-1.el7.remi.x86_64. | 733 kB 00:00
(4/25): php82-php-enchant-8.2.10-1.el7.remi.x86_64 | 76 kB 00:00
(5/25): php82-php-fpm-8.2.10-1.el7.remi.x86_64.rpm | 2.1 MB 00:02
(6/25): php82-php-gd-8.2.10-1.el7.remi.x86_64.rpm | 97 kB 00:00
(7/25): php82-php-imap-8.2.10-1.el7.remi.x86_64.rp | 101 kB 00:00
(8/25): php82-php-intl-8.2.10-1.el7.remi.x86_64.rp | 217 kB 00:00
(9/25): php82-php-ldap-8.2.10-1.el7.remi.x86_64.rp | 99 kB 00:00
(10/25): php82-php-mbstring-8.2.10-1.el7.remi.x86_ | 540 kB 00:00
(11/25): php82-php-cli-8.2.10-1.el7.remi.x86_64.rp | 4.0 MB 00:06
(12/25): php82-php-mysqlnd-8.2.10-1.el7.remi.x86_6 | 197 kB 00:00
(13/25): php82-php-pdo-8.2.10-1.el7.remi.x86_64.rp | 139 kB 00:00
(14/25): php82-php-opcache-8.2.10-1.el7.remi.x86_6 | 426 kB 00:00
(15/25): php82-php-pecl-xmlrpc-1.0.0~rc3-2.el7.rem | 48 kB 00:00
(16/25): php82-php-pear-1.10.13-5.el7.remi.noarch. | 365 kB 00:00
(17/25): php82-php-pecl-zip-1.22.2-1.el7.remi.x86_ | 59 kB 00:00
(18/25): php82-php-process-8.2.10-1.el7.remi.x86_6 | 96 kB 00:00
(19/25): php82-php-snmp-8.2.10-1.el7.remi.x86_64.r | 89 kB 00:00
(20/25): php82-php-sodium-8.2.10-1.el7.remi.x86_64 | 95 kB 00:00
(21/25): php82-php-soap-8.2.10-1.el7.remi.x86_64.r | 196 kB 00:00
(22/25): php82-php-tidy-8.2.10-1.el7.remi.x86_64.r | 86 kB 00:00
(23/25): php82-php-xml-8.2.10-1.el7.remi.x86_64.rp | 195 kB 00:00
(24/25): smeserver-php-3.0.0-46.el7.sme.x86_64.rpm | 210 kB 00:00
(25/25): php82-runtime-8.2-5.el7.remi.x86_64.rpm | 1.1 MB 00:00
------------------------------------------------------------------------
Total 1.5 MB/s | 13 MB 00:08
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installation : php82-runtime-8.2-5.el7.remi.x86_64 1/26
Installation : php82-php-common-8.2.10-1.el7.remi.x86_64 2/26
Installation : php82-php-xml-8.2.10-1.el7.remi.x86_64 3/26
Installation : php82-php-cli-8.2.10-1.el7.remi.x86_64 4/26
Installation : php82-php-process-8.2.10-1.el7.remi.x86_64 5/26
Installation : php82-php-pdo-8.2.10-1.el7.remi.x86_64 6/26
Installation : php82-php-mysqlnd-8.2.10-1.el7.remi.x86_64 7/26
Installation : 1:php82-php-pear-1.10.13-5.el7.remi.noarch 8/26
Installation : php82-php-pecl-xmlrpc-1.0.0~rc3-2.el7.remi.x86 9/26
Installation : php82-php-ldap-8.2.10-1.el7.remi.x86_64 10/26
Installation : php82-php-enchant-8.2.10-1.el7.remi.x86_64 11/26
Installation : php82-php-bcmath-8.2.10-1.el7.remi.x86_64 12/26
Installation : php82-php-intl-8.2.10-1.el7.remi.x86_64 13/26
Installation : php82-php-mbstring-8.2.10-1.el7.remi.x86_64 14/26
Installation : php82-php-tidy-8.2.10-1.el7.remi.x86_64 15/26
Installation : php82-php-gd-8.2.10-1.el7.remi.x86_64 16/26
Installation : php82-php-sodium-8.2.10-1.el7.remi.x86_64 17/26
Installation : php82-php-8.2.10-1.el7.remi.x86_64 18/26
Installation : php82-php-soap-8.2.10-1.el7.remi.x86_64 19/26
Installation : php82-php-pecl-zip-1.22.2-1.el7.remi.x86_64 20/26
Installation : php82-php-snmp-8.2.10-1.el7.remi.x86_64 21/26
Installation : php82-php-fpm-8.2.10-1.el7.remi.x86_64 22/26
Installation : php82-php-opcache-8.2.10-1.el7.remi.x86_64 23/26
Installation : php82-php-imap-8.2.10-1.el7.remi.x86_64 24/26
Mise à jour : smeserver-php-3.0.0-46.el7.sme.x86_64 25/26
Nettoyage : smeserver-php-3.0.0-45.el7.sme.x86_64 26/26
Initializing databases
Migrating existing database configuration
Migrating existing database accounts
Migrating existing database mailpatterns
Migrating existing database hosts
Migrating existing database domains
Migrating existing database spamassassin
Migrating existing database yum_available
Migrating existing database yum_installed
Migrating existing database yum_repositories
Migrating existing database yum_updates
Migrating existing database networks
Migrating existing database backups
Creating temporary event 'temp' and populating it...
Adding actions to execute
Adding templates to expand
Adding services to adjust
Executing signal-event temp ...........
Reload yum db for server-manager
Vérification : php82-php-ldap-8.2.10-1.el7.remi.x86_64 1/26
Vérification : php82-php-process-8.2.10-1.el7.remi.x86_64 2/26
Vérification : php82-php-enchant-8.2.10-1.el7.remi.x86_64 3/26
Vérification : php82-php-bcmath-8.2.10-1.el7.remi.x86_64 4/26
Vérification : php82-php-intl-8.2.10-1.el7.remi.x86_64 5/26
Vérification : php82-php-mbstring-8.2.10-1.el7.remi.x86_64 6/26
Vérification : smeserver-php-3.0.0-46.el7.sme.x86_64 7/26
Vérification : php82-php-tidy-8.2.10-1.el7.remi.x86_64 8/26
Vérification : php82-php-pdo-8.2.10-1.el7.remi.x86_64 9/26
Vérification : php82-php-gd-8.2.10-1.el7.remi.x86_64 10/26
Vérification : php82-runtime-8.2-5.el7.remi.x86_64 11/26
Vérification : php82-php-sodium-8.2.10-1.el7.remi.x86_64 12/26
Vérification : php82-php-common-8.2.10-1.el7.remi.x86_64 13/26
Vérification : php82-php-soap-8.2.10-1.el7.remi.x86_64 14/26
Vérification : php82-php-pecl-zip-1.22.2-1.el7.remi.x86_64 15/26
Vérification : php82-php-snmp-8.2.10-1.el7.remi.x86_64 16/26
Vérification : php82-php-mysqlnd-8.2.10-1.el7.remi.x86_64 17/26
Vérification : php82-php-fpm-8.2.10-1.el7.remi.x86_64 18/26
Vérification : php82-php-xml-8.2.10-1.el7.remi.x86_64 19/26
Vérification : 1:php82-php-pear-1.10.13-5.el7.remi.noarch 20/26
Vérification : php82-php-8.2.10-1.el7.remi.x86_64 21/26
Vérification : php82-php-opcache-8.2.10-1.el7.remi.x86_64 22/26
Vérification : php82-php-pecl-xmlrpc-1.0.0~rc3-2.el7.remi.x86 23/26
Vérification : php82-php-imap-8.2.10-1.el7.remi.x86_64 24/26
Vérification : php82-php-cli-8.2.10-1.el7.remi.x86_64 25/26
Vérification : smeserver-php-3.0.0-45.el7.sme.x86_64 26/26
Dépendances installées :
php82-php.x86_64 0:8.2.10-1.el7.remi
php82-php-bcmath.x86_64 0:8.2.10-1.el7.remi
php82-php-cli.x86_64 0:8.2.10-1.el7.remi
php82-php-common.x86_64 0:8.2.10-1.el7.remi
php82-php-enchant.x86_64 0:8.2.10-1.el7.remi
php82-php-fpm.x86_64 0:8.2.10-1.el7.remi
php82-php-gd.x86_64 0:8.2.10-1.el7.remi
php82-php-imap.x86_64 0:8.2.10-1.el7.remi
php82-php-intl.x86_64 0:8.2.10-1.el7.remi
php82-php-ldap.x86_64 0:8.2.10-1.el7.remi
php82-php-mbstring.x86_64 0:8.2.10-1.el7.remi
php82-php-mysqlnd.x86_64 0:8.2.10-1.el7.remi
php82-php-opcache.x86_64 0:8.2.10-1.el7.remi
php82-php-pdo.x86_64 0:8.2.10-1.el7.remi
php82-php-pear.noarch 1:1.10.13-5.el7.remi
php82-php-pecl-xmlrpc.x86_64 0:1.0.0~rc3-2.el7.remi
php82-php-pecl-zip.x86_64 0:1.22.2-1.el7.remi
php82-php-process.x86_64 0:8.2.10-1.el7.remi
php82-php-snmp.x86_64 0:8.2.10-1.el7.remi
php82-php-soap.x86_64 0:8.2.10-1.el7.remi
php82-php-sodium.x86_64 0:8.2.10-1.el7.remi
php82-php-tidy.x86_64 0:8.2.10-1.el7.remi
php82-php-xml.x86_64 0:8.2.10-1.el7.remi
php82-runtime.x86_64 0:8.2-5.el7.remi
Mis à jour :
smeserver-php.x86_64 0:3.0.0-46.el7.sme
Terminé !
I see this line :
Vérification : 1:php82-php-pear-1.10.13-5.el7.remi.noarch 20/26
1:php82-... Is that normal ? It seems comming from remi-repo :
php82-php-pear noarch 1:1.10.13-5.el7.remi
This is the only package which is not especial for 64 bits.
Perhaps normal...
-
Mise à jour :
smeserver-php x86_64 3.0.0-46.el7.sme smeupdates 210 k
Installation pour dépendances :
php82-php x86_64 8.2.10-1.el7.remi remi-safe 2.0 M
php82-php-bcmath x86_64 8.2.10-1.el7.remi remi-safe 92 k
php82-php-cli x86_64 8.2.10-1.el7.remi remi-safe 4.0 M
php82-php-common x86_64 8.2.10-1.el7.remi remi-safe 733 k
php82-php-enchant x86_64 8.2.10-1.el7.remi remi-safe 76 k
php82-php-fpm x86_64 8.2.10-1.el7.remi remi-safe 2.1 M
php82-php-gd x86_64 8.2.10-1.el7.remi remi-safe 97 k
php82-php-imap x86_64 8.2.10-1.el7.remi remi-safe 101 k
php82-php-intl x86_64 8.2.10-1.el7.remi remi-safe 217 k
php82-php-ldap x86_64 8.2.10-1.el7.remi remi-safe 99 k
php82-php-mbstring x86_64 8.2.10-1.el7.remi remi-safe 540 k
php82-php-mysqlnd x86_64 8.2.10-1.el7.remi remi-safe 197 k
php82-php-opcache x86_64 8.2.10-1.el7.remi remi-safe 426 k
php82-php-pdo x86_64 8.2.10-1.el7.remi remi-safe 139 k
php82-php-pear noarch 1:1.10.13-5.el7.remi remi-safe 365 k
php82-php-pecl-xmlrpc x86_64 1.0.0~rc3-2.el7.remi remi-safe 48 k
php82-php-pecl-zip x86_64 1.22.2-1.el7.remi remi-safe 59 k
php82-php-process x86_64 8.2.10-1.el7.remi remi-safe 96 k
php82-php-snmp x86_64 8.2.10-1.el7.remi remi-safe 89 k
php82-php-soap x86_64 8.2.10-1.el7.remi remi-safe 196 k
php82-php-sodium x86_64 8.2.10-1.el7.remi remi-safe 95 k
php82-php-tidy x86_64 8.2.10-1.el7.remi remi-safe 86 k
php82-php-xml x86_64 8.2.10-1.el7.remi remi-safe 195 k
php82-runtime x86_64 8.2-5.el7.remi remi-safe 1.1 M
It seems comming from remi-repo
Yes, they all come from the remi repo except for our package as per the list you posted.
This is the only package which is not especial for 64 bits.
Yup - it isn't binary I guess.
Perhaps normal...
Yup - all looks good.