php Benchmark test on php 7.2

Now it is a php 7.2. Included in the Ubuntu 18.04. My site is running on this platform. I also want to try to run the php Benchmark test, and see how fast it is.   -------------------------------------- | PHP BENCHMARK SCRIPT | -------------------------------------- Start : 2018-06-07 11:38:41 Server : PHP version : 7.2.5-0ubuntu0.18.04.1 Platform

Some changes on VPS

My site is moved to another VPS, but still with Linode. This time, it is at Fremont, CA. As I mentioned in my last post, the CPU is E5-2697 v4. There is a few changes on the default VPS. Turn on BBR. php opcache cache size from 128MB to 256MB MariaDB default collection from utf8mb4_general_ci

New CPU model of Linode Fremont

Recently I placed an order of a new VPS at Linode. It has a new CPU type. Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz, 1 cores Another VPS I bought with Linode from July 2017, has Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz, 1 cores Let me check these difference between E5-2697 v4 and E5-2680

Small PHP 7.2 Compatibility Bug of W3 Total Cache

When I upgrade my php to php 7.2, I saw a lot of error log in the log file. [error] 1502#1502: *625 FastCGI sent in stderr: “PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /<purged>/wp-content/plugins/w3-total-cache/Cdn_Plugin.php on line 1203” while reading response header from upstream, client:,

Color Scheme for the command line of bash

When I install the Ubuntu server and ssh to the server, the default shell is bash. It looks like below. I prefer to have a colorful terminal window. So I goole it and find the solution: open ~/.bashrc in an editor copy this and add it at the end of .bashrc file: PS1='\[\033[1;36m\]\u\[\033[1;31m\]@\[\033[1;32m\]\h:\[\033[1;35m\]\w\[\033[1;31m\]\$\[\033[0m\] ' save

Yoast SEO has problem with AMP

Recently, I found the AMP page of this blog is not working. After checking the web logĀ  error file, the error looks like below If you Google it with wp-content/plugins/glue-for-yoast-seo-amp/classes/class-frontend.php:162 A lot of search results with the same problem. Based on the Yoast SEO support page, it said it is AMP plugin fault. gooma2 provided

Add a hard disk to my NAS

When I travel to Shanghai, I ordered a Western Digital Purple Disk. 4TB SATA6Gb / s 64M Monitoring Hard Drive (WD40EJRX). I paid RMB705, including free shipping. Now the price is dropped to RMB659. The similar hard disk on is about CA$238. Open the box. It is a plastic container. Remove the plastic container,

Upgrade Kindle Touch firmware

Amazon has a new firmware for Kindle Paperwhite. Prepare firmware file So, I check the Amazon’s website and download the latest firmware file. The file name is update_kindle_all_new_paperwhite_5.9.5.bin,216MB Then, connect the Kindle to my desktop with USB cable. Copy the bin file into the root folder of the Kindle. Eject the Kindle and unplug the