PHP 7.4 : Install2020/08/27 |
Install PHP.
|
|
[1] | Install PHP 7.4. |
root@www:~#
root@www:~# apt -y install php7.4 php7.4-mbstring php-pear php -v PHP 7.4.3 (cli) (built: May 26 2020 12:24:22) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies # verify installation to create a test script root@www:~# echo "<?php echo 'PHP 7.4 Test Page'.\"\n\"; ?>" > php_test.php root@www:~# php php_test.php PHP 7.4 Test Page |