How to install WordPress manually through Cpanel?

Hello Everyone. This article is a step by step guide to install WordPress manually on your site through Cpanel. Now you might ask, Why would you install it manually? when I can use the auto installer. Offcourse auto-installer is a great feature which reduces our effort. These installers work great in many cases, but often stuff your site full of unwanted plugins and themes. In addition, these automated tools have a reputation for timing out or being completely unavailable at times, which can be frustrating if you’re on a deadline. ...

October 28, 2018 · 2 min · Harshvardhan Malpani

Fix Magento 2 – php cli error on cpanel or other hostings

The problem: On a fresh install of Magento2 on cpanel based hosting, you receive the following error while running any command on SSH [eee@e1 www]$ php bin/magento cache:clean X-Powered-By: PHP/7.0.31 Content-type: text/html; charset=UTF-8 bin/magento must be run as a CLI application [eee@e1 www]$ php bin/magento setup:upgrade X-Powered-By: PHP/7.0.31 Content-type: text/html; charset=UTF-8 bin/magento must be run as a CLI application The Solution: You have to point php to correct binary; Use the following code in order: First, open the file which can alter the runtime variables like .bash_profile or .bashrc ...

September 10, 2018 · 1 min · Harshvardhan Malpani

[SOLVED] PHP must be run as a CLI application error : Content-type: text/html; charset=UTF-8

php bin/magento cache:clean Content-type: text/html; charset=UTF-8 bin/magento must be run as a CLI application as root user, run the following commands (For php v7.0) # yum install ea-php70 # source /opt/cpanel/ea-php70/enable The solution involves fixing php variable’s path. We need to find which php is being used right now, you can find out by $ which php $ php -v To fix this PHP cli error, see how to edit php in bash profile (.bashrc)

July 28, 2018 · 1 min · Harshvardhan Malpani

How to connect cpanel through SSH

Following are the steps to connect to cpanel through SSH:- Go to your cpanel and create a public private key-pair, under SSH access->manage keys. Under manage keys section, go on create a new key. Create a key and give key name, key password, key type and key size. 4. Click on generate keys and it will look something like this. Go back and under public key section , select your public key->manage->authorize key. ...

July 27, 2018 · 1 min · Harshvardhan Malpani

How to install wordpress on cPanel

WordPress is a free and open-source content management system (CMS) based on PHP and MySQL.Features include a plugin architecture and a template system. Follow these steps to install WordPress: Download WordPress Download WordPress from this link: https://wordpress.org/download/ Create Database Create an empty database for WordPress and specify it’s username and password. Set up Wizard Step 1: Upload the downloaded compressed file on your website root directory and extract it. ...

July 18, 2018 · 1 min · Harshvardhan Malpani