image 1 540x304 - Editing Magento Database Configuration File

Editing Magento Database Configuration File

From the root of your Magento installation enter the app/etc/ folder and edit env.php file which contains all the information related to your database configuration in the 'db' node. Magento app/etc folder From here, you can edit...

chrome q93DfQYoyT 540x304 - WordPress SMTP settings via functions.php

WordPress SMTP settings via functions.php

Like many other PHP scripts, WordPress also uses PHPmailer to send transactional emails. If no email is set for sending emails, WordPress will use the default cPanel email account (username@domain.com) which isn’t pretty. To specify...

image 2 540x299 - [ERROR] Unknown/unsupported storage engine: InnoDB

[ERROR] Unknown/unsupported storage engine: InnoDB

MariaDB service failed due to insufficient space on /var partition. After removing the log/backup files, MySQL failed to start with the error: service mysqld status Jan 24 08:34:07 srv.pcx3.com systemd[1]: Starting MariaDB database server…Jan...

image 9 540x304 - Allow SMTP Relay in cPanel / WHM

Allow SMTP Relay in cPanel / WHM

To allow sending emails from another server (to use your server as a relay), you need to allow access to that IP address. Step 1. Whitelist IP address on the firewall csf -a IP-HERE Step 2. Add IP address to Exim Configuration Navigate to WHM >...

image 8 540x304 - CyberPanel Grid-style websites

CyberPanel Grid-style websites

The following CSS will show the websites list as a grid in CyberPanel: /* websites */ a[title="Manage Website"] span {display: none;} [ng-repeat="web in WebSitesList track by $index"] .col-md-12:not(:first-child) { display: none; } .panel.col-md-12...

image 8 540x304 - 2 ways to Install SSL in VestaCP

2 ways to Install SSL in VestaCP

Installing an SSL via Vesta Control Panel Installing a free Let’s Encrypt SSL via terminal Installing SSL via Vesta Control Panel To add a SSL to a website in Vesta, you must first complete the following: Add the domain name Change DNS to the...

image 7 540x304 - Change the Timezone for MySQL

Change the Timezone for MySQL

Check the current timezone from MySQL: SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP); OR select now(); To check where the timezone is loaded from use: SELECT @@session.time_zone; SELECT @@global.time_zone; If it is set to SYSTEM then it is using either...

chrome n4SE3pYocj 540x252 - BASH Scripting – Conditional Statements (if-then, else, elif)

BASH Scripting – Conditional Statements (if-then, else, elif)

In this tutorial, we will be discussing some of the conditional statements (aka structured commands). Firstly, what are Conditional statements ? In a BASH scripts, commands run sequentially that means first line will be executed first, then next one...