Monday, 28 December 2015

*WARNING* URLGET set to use LWP but perl module is not installed, reverting to HTTP::Tiny in Ubuntu Linux server while configuring Config Server Firewall

If you are getting this warning message while configuring Config Server Firewall (CSF), you can fix it by installing the missing perl module.

To install this perl module, use below command :

apt-get install libwww-perl

Friday, 18 December 2015

Install node.js on Ubuntu 14.04 linux server and configure a hello world node.js application using pm2 and varnish

Node.js is an open-source, cross-platform runtime environment for developing server-side web applications. Node.js applications are written in JavaScript and can be run within the Node.js runtime.

Node.js is primarily used to build network programs such as web servers, making it similar to PHP.The biggest difference between PHP and Node.js is that PHP is a blocking language, where commands execute only after the previous command has completed, while Node.js is a non-blocking language where commands execute in parallel, and use callbacks to signal completion.

Saturday, 5 December 2015

Fatal error: Call to undefined function pcntl_fork() while running pcntl_fork as apache module

In the last post, we have seen that how to install pcntl modules in php and enable them. But if we are running php as an Apache module, you will get the following error :

Fatal error: Call to undefined function pcntl_fork()


Friday, 4 December 2015

Install and enable "pcntl_fork" php module in ubuntu 14.04 LTS

pcntl_fork is a php module which will enable the parallel processing and multi threading in php programs. To install it use the below steps: