More than a year a go, I wrote about how to upgrade PHP 5.6 to PHP 7.0.
Now, PHP 7.0 will reached the end of its critical support through December 2018. After that date PHP community will no longer provides support for bugs. Following to PHP 7.0, PHP 7.1 will be put under discontinued support next year.
Also, since dotdeb dropped support for PHP 7.1 and later so we will use another package provided by Ondřej Surý’s.Continue reading “How To Update PHP 7.0 to PHP 7.2 on Debian Easily”
I know, MySQL 5.5 is quite old, let’s get an upgrade then.
First of all, let’s backup the databases:
mysqldump --all-databases > all_databases.sql
Download the latest APT package repository
Continue reading “Upgrading MySQL 5.5 to 5.7 in Debian”
I’m moving out a blog to a new domain, and redirect all posts specifically to a new domain.
should go to
On Apache that allows .htaccess, you can add this line on top of the file:
RewriteRule ^(.*)$ http://www.newsite.COM/$1 [R=301,L]
On Nginx, add this line on server block configuration file:
return 301 http://newdomain.com$request_uri;
Reload or restart Nginx for the change to take effect.
With recent updates, WordPress has increased it server requirement from PHP 5.6 to PHP 7. I think it is the best time to upgrade PHP to follow the requirement. FYI, Most of my servers are running based on Debian Jessie.Continue reading “Upgrade PHP 5.6 to PHP 7 on Nginx / Debian Jessie”
One of my server had cpu outage last week because of a script repeating to access wp-login.php file with hundreds of request per minute.
if you do
tail -f access.log it will return repeating requests
188.8.131.52 – – [22/Aug/09:31:14:11 +0000] “GET /wp-login.php HTTP/1.1” 200 3327 “-” “Mozilla/4.0”
I will share my steps to recover it;
Continue reading “What You Have Todo if a Brute Force Attacking Your WordPress Sites”