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…
How to Install ionCube Loader in CentOS 7
ionCube is a commercial software suite consisting of a PHP encoder, package foundry, bundler, a real time site intrusion detection and error reporting application as well as a loader. PHP encoder is an application for PHP software protection: used to secure, encrypt and license PHP source code. ionCube loader is an extension used to load…
How to Implement Security HTTP Headers to Prevent Vulnerabilities?
Do you know most of the security vulnerabilities can be fixed by implementing necessary headers in the response header? Security is as essential as content and SEO of your website, and thousands of websites get hacked due to misconfiguration or lack of protection. If you are a website owner or security engineer and looking to protect your…
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 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….
How to Remove WP Engine Plugins from WordPress
We recently redesigned a WordPress site for a client who was migrating away from WP Engine. When we migrated the client to the new host, they still had a “WP Engine” section in their WordPress dashboard main menu. Since this feature set would no longer be utilized, it was best to get the plugins removed…