PHP Fatal error: Uncaught Error: Call to undefined function curl_init()

php

Hi all, this document deals with how to fix the error “PHP Fatal error: Uncaught Error: Call to undefined function curl_init()”. This is an exception by PHP when it detects the required plugin is missing. Here the missing PHP library is curl. Step 1: check your PHP version.   Expected output Step 2: Now you can see the PHP version is 7.2 using Step 3: Now install the dependency packages such as gd and ImageMagick Step 4: choose the package for your version. For Ubuntu For Centos   Step 5:¬†…

Read More

how to setup mod cache in apache2

apache

Hi All, this document deals with how to setup mod cache in apache2. Web caching the way of improving the server performance, so all the cached requests will be served from the cache resource without directly accessing from the web server. The dynamic contents will be shared from the web server itself. In this document, I will show you how to install and configure mod_cache in apache web server. Requirements: * Running apache web server. Installation Enable the mod cache modules Restart the apache service in order to modules get…

Read More

apache failover using keepalived

apache

apache failover using keepalived Hi Techrunnr Readers, this document deals with configuration of apache failover using keepalived. Configuring failover helps to run a service continuously if any of the systems failed without any help of human intervention. Here we are configuring Failover for apache service using keepalived with floating IP. Floating IP will switch from master to backup server automatically when the master is unavailable. Here is the configuration to how to set up failover for apache service. Prerequisites * 2 Servers with root access * Floating IP Installation My…

Read More