Effortlessly Manage PHP Versions with “kusanagi php”

Effortlessly Manage PHP Versions with “kusanagi php”

This article explains how to use the kusanagi php command and compares it with kusanagi container. Hello, this is Fukuda from Prime Strategy. Did you know there’s a command that lets you switch PHP versions instantly and optimize settings automatically? That’s exactly what kusanagi php does. For reference, in KUSANAGI 9 (Business Edition or higher), there is also an alternative called kusanagi container, which allows you to switch PHP versions per profile. We’ll explore the differences later in this article. Switching PHP Versions with the –use Option To switch PHP versions, simply use the –use option. As of October 26, 2023, the available options are: This command uses dnf under the hood, which uninstalls the old version … Read more

Using PostgreSQL with KUSANAGI 9_

Using PostgreSQL with KUSANAGI 9

KUSANAGI 9 now supports PostgreSQL versions 14 and 15, allowing users to upgrade PostgreSQL and run CMS platforms like Drupal—not just WordPress—on PostgreSQL. Using the kusanagi dbinit psql and kusanagi upgrade psql commands, you can not only switch the database in use but also upgrade or optimize its configuration.  Keep in mind, however, that switching databases requires a backup, and data migration must be handled manually. Additionally, the kusanagi upgrade psql command supports upgrading PostgreSQL versions, but does not support downgrades.  Back up the database. Both kusanagi dbinit psql and kusanagi upgrade psql perform significant changes to your database environment. While KUSANAGI is designed to ensure stability, there is no … Read more

The kusanagi bcache Command and How It Works 

In this article, we’ll explain the kusanagi bcache command, which is designed to improve page load speed and reduce server load. One of its key features is that it leverages WordPress’s built-in caching mechanism and stores cache data in the database. Since it runs on PHP, it allows for fine-grained control over caching behavior. We’ll also cover how to enable/disable bcache, clear the cache, and configure cache expiration times and query string rules.  This article is a follow-up to our previous explanation of the kusanagi fcache command.  Like fcache, bcache stores already-rendered pages and reuses them for identical requests to improve response speed and reduce server resource consumption. However, unlike … Read more

Achieve Ultra-Fast CMS Performance with kusanagi fcache 

In this article, we’ll cover the kusanagi fcache command.  On the KUSANAGI platform, fcache refers to the FastCGI caching functionality of nginx. FastCGI is a method that allows the server to dynamically generate web pages using languages like PHP. The FastCGI cache stores those generated pages so that future requests can be served with prebuilt content—rather than regenerating the page dynamically each time—dramatically improving performance.  To use fcache, nginx must be installed and running on your environment.  KUSANAGI provides convenient commands to enable or disable fcache, as well as clear cached data when needed.  The performance benefits of using fcache are significant. Compared to a typical LAMP stack, enabling fcache … Read more

Protecting Your Site with kusanagi waf (ModSecurity/NAXSI) 

KUSANAGI comes with a built-in Web Application Firewall (WAF) feature. In this article, we’ll walk you through how to use this feature, as well as how to investigate potential causes when errors occur.  Benefits of Introducing a WAF WAF stands for Web Application Firewall, and it serves as a protective layer for web applications such as WordPress. It helps prevent malicious access attempts that exploit known vulnerabilities—like SQL injection or directory traversal—before they reach the application layer (e.g., PHP).  By blocking suspicious requests at the web server level, WAF reduces the risk of damage from unpatched vulnerabilities.  We’ve briefly touched on this topic before in our article “Preparing for attacks with WAF”, … Read more

Introducing the “Theme Accelerator” in the KUSANAGI Plugin

Prime Strategy’s KUSANAGI Plugin has been updated with a new feature: the Theme Accelerator.  This functionality improves backend performance by caching frequently reused and rarely changed theme data—including certain Full Site Editing (FSE) components—allowing themes to load faster and respond more efficiently.  The accelerator activates only under specific conditions and supports the creation and deletion of cache data as needed. Performance testing has shown a reduction in page access time ranging from 9.2% to 55.3% for general themes, and 9.7% to 10.9% for FSE themes, significantly supporting faster and more efficient website operation.  This feature was introduced in KUSANAGI Plugin version 20230705-1. I’m Xie from the Prime Strategy KUSANAGI development … Read more

Webサイト運用の課題解決事例100選 プレゼント

Webサイト運用の課題を弊社プロダクトで解決したお客様にインタビュー取材を行い、100の事例を108ページに及ぶ事例集としてまとめました。

・100事例のWebサイト運用の課題と解決手法、解決後の直接、間接的効果がわかる

・情報通信、 IT、金融、メディア、官公庁、学校などの業種ごとに事例を確認できる

・特集では1社の事例を3ページに渡り背景からシステム構成まで詳解