Ubuntu 20.04
Sponsored Link

PHP 7.4 : Install
2020/08/27
 
Configure Nginx to use PHP scripts.
[1] Install PHP 7.4.
root@www:~#
apt -y install php7.4 php7.4-mbstring php-pear
root@www:~#
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
Matched Content