Install nginx on cPanel server Date Posted: 15-11-2017 cPanel is the widely used control panel to manage webhosting and it comes with apache as a default webserver. Nginx is fast webserver when compared to apache webserver. In this tutorial, we will explain on how to install nginx on cpanel server.… Continue Reading Install nginx on cPanel server

L1aravel 5.5 installation on VestaCP domain Date posted: 31-10-2017 Assumptions:- We assume you have the following server setup VestaCP Ubuntu 16.04 Nginx PHP >= 7.0.0 PHP modules OpenSSL, xml, PDO, Tokenizer and mbstring Installing Laravel Install composer apt-get install composer Download the Laravel installer using Composer: composer global require “laravel/installer”… Continue Reading Laravel installation on VestaCP account

PDFlib support for PHP7.0 on Ubuntu 16.04 Date posted: 16-10-2017 Task: Enable PDF for PHP7.0 Based on your server architecture download PDFlib software from PDFlib site. cd /usr/local/src wget https://www.pdflib.com/binaries/PDFlib/911/PDFlib-9.1.1p3-Linux-x86_64-php.tar.gz tar -xvf PDFlib-9.1.1p3-Linux-x86_64-php.tar.gz cd PDFlib-9.1.1p3-Linux-x86_64-php/ Find PHP extension_dir # php -ini | grep extension_dir extension_dir => /usr/lib/php/20151012 => /usr/lib/php/20151012 copy… Continue Reading PDFlib support for PHP7.0 on Ubuntu 16.04

Client denied by server configuration apache 2.4 Date Posted: 12-10-2017 The following error we have seen on the following log after we setup apache server on linux host. Client denied by server configuration apache 2.4 Reason: This error normally occurs if the documentroot is not allowed on virtualhost configuration. Consider,… Continue Reading Client denied by server configuration apache 2.4

How to install Ioncube loader on Linux Date Posted: 03-10-2017 Ioncube loader is a php module used to encrypt php code. This post explains on how to install Ioncube loader on linux server. The Linux server can be Ubuntu, centos or other operating system. Prerequisites: Linux Host. Apache Webserver. If… Continue Reading How to install Ioncube loader on Linux

Add Access Control Allow Origin Region(CORS) for fonts in NGINX? Date Posted: 02-10-2017 In this post, we will explain on how to allow cors (Cross Origin Region) for fonts on nginx. We may have seen the following on google chrome console or firefox firebug addon. No ‘Access-Control-Allow-Origin’ header is Prerequisites:… Continue Reading Allow Cross Origin Region(CORS) for Fonts in NGINX

Setting up different documentroot for subdirectory on nginx Date Posted: 24-09-2017 Nginx is a fastest webserver when compared to apache.  In this post, we are going to explain how to setup different documentroot for subdirectory. The maindomain documentroot will be /var/www/html and subdirectory folder documentroot /var/www/folder. Prerequisites: Nginx Webserver. If nginx… Continue Reading Setting up different documentroot for subdirectory on nginx

Configure multiple php on litespeed cPanel server Date posted: 04-09-2017 By default cPanel runs with apache webserver. Normally Easy apache 4 or Easy apache 4 will help on installing multiple php version.  In this post, we will explain on how to configure litespeed webserver to use multiple php version. Prerequisites:… Continue Reading Configure multiple php on litespeed cPanel server

Add Access Control Allow Origin Region(CORS) in NGINX? Date Posted: 31-08-2017 In this post, we will explain on how to allow cors (Cross Origin Region) on nginx. We may have seen the following on google chrome console or firefox firebug addon. No ‘Access-Control-Allow-Origin’ header is Prerequisites: Nginx Webserver.  If nginx… Continue Reading Allow Cross Origin Region(CORS) in NGINX

Setup redirection using Proxypass, proxyreversepass on apache Date Posted: 24-08-2017 There are scenarios like we would like to forward the request to different domain or different port. However, the URL on the browser should remain the same. In this post, we will explain on how to setup redirection using proxypass.… Continue Reading Setup redirection using Proxypass, proxyreversepass on apache