Similar Posts
How to Change OpenCart Timezone
Go to system/startup.php and find following lines of code: if (!ini_get(‘date.timezone’)) { date_default_timezone_set(‘UTC’); } Replace with following lines of code by changing to your timezone date_default_timezone_set(‘Australia/Sydney’); Synchronize PHP and Database Timezone The query we use to set database timezone if you are super admin is below: SET time_zone=’offset’; But everyone has no super admin access…
Send Emails From Your Web Server With the PHP mail() Function and PHPMailer
Most businesses choose to create a professional email account to boost their credibility and build customer trust. To accomplish this, you just need to buy a domain and set up your business email on an email client or a server. If you build your website or web application with the PHP programming language, you can…
How To Create a Linux Swap File
In this article, we will explain swap space, and learn how to create swap space using a swap file in Linux: this is important in case we don’t have a swap partition created on the hard disk. Swap space/partition is space on a disk created for use by the operating system when memory has been…
PHP: maximum execution time when importing .SQL data file – phpmyadmin
Well, to get rid of this you need to set phpMyadmin variable to either 0 that is unlimited or whichever value in seconds you find suitable for your needs. Or you could always use CLI(command line interface) to not even get such errors(For which you would like to take a look at this link. Now…
How to Check and Upgrade your Linux Kernel Version via Command Line in CentOS 7
This article describes how to check and upgrade the Linux kernel in OpenVZ, KVM, and Dedicated Servers (including the CloudLinux platform). Checking the Kernel Version To check system parameters such as the kernel version and build date, OS architecture, hostname, etc., you can use the uname command, which is included in coreutils package: # uname -rv 3.10.0-693.11.6.el7.x86_64 #1 SMP Thu Jan…
How to find large file size on linux
Often time, you may need to know which file contains large file size, and delete it to save space. Here’s a code pattern to show you how to find large file size on Linux : 1. File size >= 100MB Find all files that have a size >= 100MB, from root folder and its sub-directories….