Introduction Composer is an application for tracking the dependencies of a project. It pulls in all the required PHP packages. It allows to specify a set of libraries for a specific project. With the libraries established, it identifies the versions and dependencies and installs them to the corresponding project. Prerequisites… Continue Reading How to Install and Use PHP Composer on CentOS 7

This blog will help you to install and configure PHP with Nginx on centos7 Prerequisite Centos version 7, User with Sudo privileges Procedure Step 1: Install the EPEL repository $ sudo yum install epel-release Step 2: Install and start Nginx Run the following command to install nginx, $ sudo yum… Continue Reading How to install and configure PHP with Nginx on centos7

Prerequisite User with Sudo privileges, Ubuntu version 20.04. Procedure Login to the Ubuntu server & follow the below steps to Configure Apache with PHP-FPM handler. Ensure that all the packages you have installed on your server are up to date, by running the following command you can find it. $… Continue Reading How to Configure Apache with PHP-FPM handler in ubuntu 20.04

How to enable exec() function in PHP-FPM Date: 02-10-2021 Step 1: Log in to the server via SSH. Step 2: Check the PHP version of the server by using the below command.# php -v Step 3: If your domain using PHP version 7.3, open the PHP-FPM configuration file. # vi… Continue Reading How to enable exec() function in PHP-FPM

Install PHP 7.2-mcrypt Module on Ubuntu 18.04 Date: 01-01-2021 Introduction: The PHP mcrypt module has been deprecated in PHP 7.2 so it’s not available by default. PHP 7.2-mcrypt package is missing in Ubuntu server. You need to follow the below steps to install this module for PHP 7.2. Step 1:… Continue Reading Install PHP 7.2-mcrypt Module on Ubuntu 18.04

How to add Google ReCAPTCHA in PHP Codeigniter Date: 09-05-2020 Introduction: reCAPTCHA is a free service from Google that helps protect websites from spam and abuse. It is verifying a user is a human or robot. Google reCAPTCHA show some images and give hint in text and ask users to select appropriate images… Continue Reading How to add Google ReCAPTCHA in PHP Codeigniter

How to view PHP version for the domain in Cpanel Date:03-05-2020 Introduction: PHP is a popular general-purpose scripting language that is especially suited to web development. It is a server-side scripting language. It is used to develop static websites or dynamic websites or web applications. PHP stands for Hypertext Pre-processor. Step – 1: Log into… Continue Reading How to view PHP version for the domain in Cpanel

HOW TO SETUP COOKIE IN PHP Date : 31/01/2019 Introduction A cookie is a small file, that stores in the user computer, used to keep track of information, such as username or else, the site can retrieve when the user visits the website next time. Setting up cookie using PHP… Continue Reading HOW TO SETUP COOKIE IN PHP

PHP warning: Module ‘ssh2’ already loaded in Unknown on line 0 Date : 07-Jan-2020 Hello! Sometimes when working on the server , you may get the php warning message as “Module ‘ssh2’ already loaded in Unknown on line 0”. This warning means that something is not right with your php… Continue Reading PHP warning: Module ‘ssh2’ already loaded in Unknown on line 0

How to debug in Codeigniter Date : 09/11/2019 Introduction We can use functions like echo, print_r(), var_dump() or log_message() to print values both in log files and also in browser. Other than log_message() other print methods will not print values in log_message. echo – used to simply display the content.… Continue Reading How to debug in Codeigniter