Category PHP

how-to-disable-enable-php-fpm

How to Disable or Enable PHP FPM

PHP-FPM (PHP FastCGI Process Manager) is a key element in web server performance optimization. This guide will show you how to effortlessly disable or enable PHP-FPM as needed, giving you control over your server's PHP processing.
How-to-get-Authorization-header-in-php

How to get Authorization header in PHP

In order to construct a secure resource that can be accessed through an API, we must utilize an authorization header with a token or bearer. In this article, I will guide you how to obtain the authorization header, extract the token or bearer. Then authenticate it against a database table and return a JSON output in PHP.
upgrade-php-fpm-apache

How to upgrade PHP FPM

If you are running PHP FPM 7.x version(s) and thinking it's time to upgrade, this article will guide you how to upgrade PHP FPM.
php-switch-versions-in-arch-and-manjaro

Switch PHP versions in Arch and Manjaro

As a developer you may sometime need to test an app on different PHP version. Today I am going to show you how to switch PHP versions in Arch and Manjaro OS.