How to install PHP 7.2 on CentOS 7/RHEL 7

last updated in Categories , , ,

How do I Install PHP 7.2 on CentOS 7 server? How can I setup and install PHP 7.2 on RHEL 7 server along with Nginx web server? How do I configure PHP-fpm version 7.2 with Nginx server running on a CentOS / Red Hat Enterprise Linux version 7?

PHP Fatal error: Call to undefined function curl_init() in /home/httpd/a/includes/functions.php(1)

last updated in Categories , , , , , , , , , ,

I setup a LEMP (Linux, Nginx,MySQL, PHP ) stack. But, getting the following error in /var/log/nginx/error.log file:
    PHP Fatal error: Call to undefined function curl_init() in /home/httpd/a/includes/functions.php(1)
How do I solve this problem on Linux server?