I recently went through the process of install PHP on macOS Monterey on my MackBook Pro M1 (Apple Silicon), the installation of PHP itself is easy, the codesigning of the PHP module took a little while to figuring out, I thought it would be a good idea to document the walk-through on how I did it. Continue reading "Install PHP on Apple Silicon Macbook Pro"
Category: PHP
Add Syntax Highlight to WordPress Blog
If you are a blogger and a programmer, the chances are that you will often shows some programming code on your blog. The codes that you shared may not be syntax-highlighted like what you see on your favourite text editor or IDE, but it is easy to add syntax highlight to your WordPress blog using Highlight.js (hljs). Continue reading "Add Syntax Highlight to WordPress Blog"
WordPress SEO-friendly optimisation with your own plugin
If you run Google PageSpeed Insights or GTMetrix tests on standard WordPress installation, you will noticed that your website could be more SEO friendly with some optimisation. You can do so by creating your own customise plugin and put all the code for optimisation and customisation in one place.
Continue reading "WordPress SEO-friendly optimisation with your own plugin"
Hosting WordPress on Raspberry Pi Part 4 – Optimise WordPress through cache
We had WordPress installed on the Raspberry Pi, we are going to look into how to implement various cache solutions to optimise WordPress without depending on plugins. Continue reading "Hosting WordPress on Raspberry Pi Part 4 – Optimise WordPress through cache"
Hosting WordPress on Raspberry Pi Part 2 – Install Nginx, PHP and MariaDB
Before installing WordPress, we will need to setup a web server for our Raspberry Pi. We will use Nginx as the web server itself, MariaDB as a database management system, and PHP for dynamic script processing. We choose Nginx, PHP-FPM and MariaDB for its performance and lightweight that are both important factors for Raspberry Pi. Continue reading "Hosting WordPress on Raspberry Pi Part 2 – Install Nginx, PHP and MariaDB"
Hosting WordPress on Raspberry Pi – A complete approach
What you see is a WordPress web server running on a Raspberry Pi 3, and this is a series of articles on how I host WordPress on Raspberry Pi 3 and optimise it to achieve impressive performance and a capable WordPress web server.
Continue reading "Hosting WordPress on Raspberry Pi – A complete approach"