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

Posted on in Categories , , , , , , , , , , last updated February 12, 2017

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?

How to map static IP address using dnsmasq under LXD (Linux containers)

Posted on in Categories , , , , last updated January 23, 2017

I am using LXD (Linux container) to host Apache, MySQL, Perl and PHP-based app. I would like to assign or map fixed IP address to my MySQL container. How do I allow dnsmasq DHCP server to assign a static IP address to LXD container based on name or MAC address?