<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>cpanel on Tutes Club</title><link>https://tutes.in/tag/cpanel/</link><description>Recent content in cpanel on Tutes Club</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 01 Feb 2019 13:05:33 +0000</lastBuildDate><atom:link href="https://tutes.in/tag/cpanel/index.xml" rel="self" type="application/rss+xml"/><item><title>How to install WordPress manually through Cpanel?</title><link>https://tutes.in/how-to-install-wordpress-manually-through-cpanel/</link><pubDate>Sun, 28 Oct 2018 11:35:16 +0000</pubDate><guid>https://tutes.in/how-to-install-wordpress-manually-through-cpanel/</guid><description>This article will walk you through the step by step guide on installing WordPress manually through Cpanel.</description></item><item><title>Fix Magento 2 – php cli error on cpanel or other hostings</title><link>https://tutes.in/fix-magento-2-php-cli-error-on-cpanel-or-other-hostings/</link><pubDate>Mon, 10 Sep 2018 22:10:59 +0000</pubDate><guid>https://tutes.in/fix-magento-2-php-cli-error-on-cpanel-or-other-hostings/</guid><description>&lt;h2 id="the-problem"&gt;The problem:&lt;/h2&gt;
&lt;p&gt;On a fresh install of Magento2 on cpanel based hosting, you receive the following error while running any command on SSH&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="o"&gt;[&lt;/span&gt;eee@e1 www&lt;span class="o"&gt;]&lt;/span&gt;$ php bin/magento cache:clean
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;X-Powered-By: PHP/7.0.31
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Content-type: text/html&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="nv"&gt;charset&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;UTF-8
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;bin/magento must be run as a CLI application
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="o"&gt;[&lt;/span&gt;eee@e1 www&lt;span class="o"&gt;]&lt;/span&gt;$ php bin/magento setup:upgrade
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;X-Powered-By: PHP/7.0.31
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Content-type: text/html&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="nv"&gt;charset&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;UTF-8
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;bin/magento must be run as a CLI application
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="the-solution"&gt;The Solution:&lt;/h2&gt;
&lt;p&gt;You have to point php to correct binary;&lt;br&gt;
Use the following code in order:&lt;br&gt;
First, open the file which can alter the runtime variables like &lt;code&gt;.bash_profile&lt;/code&gt; or &lt;code&gt;.bashrc&lt;/code&gt;&lt;/p&gt;</description></item><item><title>[SOLVED] PHP must be run as a CLI application error : Content-type: text/html; charset=UTF-8</title><link>https://tutes.in/solved-php-must-be-run-as-a-cli-application-error-content-type-text-html-charsetutf-8/</link><pubDate>Sat, 28 Jul 2018 14:33:39 +0000</pubDate><guid>https://tutes.in/solved-php-must-be-run-as-a-cli-application-error-content-type-text-html-charsetutf-8/</guid><description>&lt;p&gt;php bin/magento cache:clean&lt;br&gt;
Content-type: text/html; charset=UTF-8&lt;br&gt;
bin/magento must be run as a CLI application&lt;/p&gt;
&lt;p&gt;as root user, run the following commands (For php v7.0)&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# yum install ea-php70&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# source /opt/cpanel/ea-php70/enable&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The solution involves fixing php variable’s path. We need to find which php is being used right now, you can find out by&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;$ which php
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;$ php -v
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;To fix this PHP cli error, see &lt;a href="https://tutes.in/fix-magento-2-php-cli-error-on-cpanel-or-other-hostings/"&gt;how to edit php in bash profile (.bashrc)&lt;/a&gt;&lt;/p&gt;</description></item><item><title>How to connect cpanel through SSH</title><link>https://tutes.in/how-to-connect-cpanel-through-ssh/</link><pubDate>Fri, 27 Jul 2018 11:21:20 +0000</pubDate><guid>https://tutes.in/how-to-connect-cpanel-through-ssh/</guid><description>&lt;p&gt;Following are the steps to connect to cpanel through SSH:-&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to your cpanel and create a public private key-pair,&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;under SSH access-&amp;gt;manage keys.&lt;/p&gt;
&lt;ol start="2"&gt;
&lt;li&gt;Under manage keys section, go on create a new key.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img loading="lazy" src="https://tutes.in/wp-content/uploads/2018/07/Capture1-300x119.jpg"&gt;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" src="https://tutes.in/wp-content/uploads/2018/07/Capture3-300x134.jpg"&gt;&lt;/p&gt;
&lt;ol start="3"&gt;
&lt;li&gt;Create a key and give key name, key password, key type and key size.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img loading="lazy" src="https://tutes.in/wp-content/uploads/2018/07/Capture4-300x144.jpg"&gt;&lt;/p&gt;
&lt;p&gt;4.  Click on generate keys and it will look something like this.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" src="https://tutes.in/wp-content/uploads/2018/07/Capture5-300x144.jpg"&gt;&lt;/p&gt;
&lt;ol start="5"&gt;
&lt;li&gt;Go back and under public key  section ,&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;select your public key-&amp;gt;manage-&amp;gt;authorize key.&lt;/p&gt;</description></item><item><title>How to install wordpress on cPanel</title><link>https://tutes.in/how-to-install-wordpress-on-cpanel/</link><pubDate>Wed, 18 Jul 2018 06:20:48 +0000</pubDate><guid>https://tutes.in/how-to-install-wordpress-on-cpanel/</guid><description>&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Follow these steps to install WordPress:&lt;/p&gt;
&lt;h4 id="download-wordpress"&gt;Download WordPress&lt;/h4&gt;
&lt;p&gt;Download WordPress from this link:  &lt;a href="https://wordpress.org/download/"&gt;https://wordpress.org/download/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://tutes.in/wp-content/uploads/2018/07/step1.jpg"&gt;&lt;img loading="lazy" src="https://tutes.in/wp-content/uploads/2018/07/step1-1024x556.jpg"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;&lt;/h4&gt;
&lt;h4 id="create-database"&gt;Create Database&lt;/h4&gt;
&lt;p&gt;Create an empty database for WordPress and specify it’s username and password.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://tutes.in/wp-content/uploads/2018/07/stepp1.jpg"&gt;&lt;img loading="lazy" src="https://tutes.in/wp-content/uploads/2018/07/stepp1-1024x390.jpg"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://tutes.in/wp-content/uploads/2018/07/stepp2.jpg"&gt;&lt;img loading="lazy" src="https://tutes.in/wp-content/uploads/2018/07/stepp2-1024x506.jpg"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h4 id="set-up-wizard"&gt;Set up Wizard&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Step 1: Upload the downloaded compressed file on your website root directory and extract it.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="https://tutes.in/wp-content/uploads/2018/07/step2.jpg"&gt;&lt;img loading="lazy" src="https://tutes.in/wp-content/uploads/2018/07/step2-1024x508.jpg"&gt;&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>