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...
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...
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...
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 >...
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...
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...
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...
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...