PHP 8.4 : Install2026/04/22 |
|
Install PHP. |
|
| [1] | Install PHP 8.4 on here. |
|
[root@www ~]# dnf -y install php8.4 Dependencies resolved. ================================================================================================================================ Package Architecture Version Repository Size ================================================================================================================================ Installing: php8.4 x86_64 8.4.16-1.el10 appstream 9.6 k Installing dependencies: apr x86_64 1.7.5-3.el10 appstream 127 k apr-util x86_64 1.6.3-23.el10 appstream 97 k apr-util-lmdb x86_64 1.6.3-23.el10 appstream 13 k capstone x86_64 5.0.1-8.el10 appstream 1.0 M centos-logos-httpd noarch 100.4-1.el10 appstream 854 k httpd-core x86_64 2.4.63-13.el10 appstream 1.5 M httpd-filesystem noarch 2.4.63-13.el10 appstream 14 k httpd-tools x86_64 2.4.63-13.el10 appstream 83 k libxslt x86_64 1.1.39-8.el10 appstream 189 k nginx-filesystem noarch 2:1.26.3-6.el10 appstream 10 k php8.4-common x86_64 8.4.16-1.el10 appstream ..... .....[root@www ~]# php -v
PHP 8.4.16 (cli) (built: Dec 16 2025 16:03:34) (NTS gcc x86_64)
Copyright (c) The PHP Group
Built by CentOS
Zend Engine v4.4.16, Copyright (c) Zend Technologies
with Zend OPcache v8.4.16, Copyright (c), by Zend Technologies
# verify to create test script [root@www ~]# echo '<?php echo `php -i`."\n"; ?>' > php_test.php [root@www ~]# php php_test.php phpinfo() PHP Version => 8.4.16 System => Linux dlp.srv.world 6.12.0-214.el10.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Mar 18 22:30:49 UTC 2026 x86_64 Build Date => Dec 16 2025 16:03:34 Build System => CentOS Stream release 10 (Coughlan) Build Provider => CentOS Compiler => gcc (GCC) 14.3.1 20251022 (Red Hat 14.3.1-4) Architecture => x86_64 Server API => Command Line Interface ..... ..... |
| Sponsored Link |
|
|