PHP.Watch Articleshttps://php.watch/articles2024-03-14T10:44:00+00:00Ayesh KarunaratneHow to fix PHP Curl HTTPS Certificate Authority issues on Windowshttps://php.watch/articles/php-curl-windows-cainfo-fix2024-03-14T10:44:00+00:00On Windows, HTTPS requests made with the Curl extension can fail because Curl has no root certificate list to validate the server certificates. This article discusses the secure and effective solutions, and highlights bad advice that can leave PHP applications insecure.AEGIS Encryption with PHP Sodium Extensionhttps://php.watch/articles/php-aegis-encryption2023-12-10T10:44:00+00:00The Sodium extension in PHP 8.4 now supports `AEGIS-128L` and `AEGIS256` Authenticated Encryption ciphers. They are significantly faster than `AES-GCM` and `CHACHA20-POLY1305`. This article benchmarks them and explains how to securely encrypt and decrypt data using `AEGIS-128L` and `AEGIS256` on PHP.How to Install/Upgrade PHP 8.3 on MacOS with Homebrewhttps://php.watch/articles/php-8.3-install-upgrade-on-macos-homebrew2023-11-22T10:44:00+00:00Install PHP 8.3 and PHP extensions on MacOS with Homebrew.How to install or upgrade to PHP 8.3 on Fedora, RHEL, CentOS, and morehttps://php.watch/articles/php-8.3-install-upgrade-on-fedora-rhel-el2023-11-21T10:44:00+00:00Beginners guide on how to install PHP 8.3 on Fedora, RHEL, CentOS, Alma Linux, Rocky Linux, and others.How to install or upgrade to PHP 8.3 on Ubuntu and Debianhttps://php.watch/articles/php-8.3-install-upgrade-on-debian-ubuntu2023-11-12T10:44:00+00:00A complete guide to install or upgrade to PHP 8.3 on Ubuntu 22.04 (Jammy), Ubuntu 20.04 (Focal), Debian 10 (Buster), 11 (Bullseye), and Debian 12 (Bookworm).How to use Caddy Server with PHPhttps://php.watch/articles/caddy-php2023-10-30T10:44:00+00:00Caddy is a modular and fast web server platform written in Go. It supports PHP to serve requests with PHP-FPM, and this explains how to configure Caddy server with PHP-FPM.HTTP/3 Request with PHP Curl Extensionhttps://php.watch/articles/php-curl-http32023-10-29T10:44:00+00:00How to make HTTP/3 HTTP requests using PHP Curl extension, along with how to compile Curl with HTTP/3 support for PHP.Get Composer to suggest dev packages to `require-dev`https://php.watch/articles/composer-prompt-require-dev-dev-packages2023-08-31T10:44:00+00:00Composer 2.4 comes with a feature that it prompts during a `composer require` to install packages as `require-dev` dependencies when certain keywords are present. Development tools and libraries now can make use of this feature to mark themselves, so Composer uses the prompt when suitable.Security considerations when parsing user-provided INI strings and fileshttps://php.watch/articles/parse_ini_string-file-security-considerations2023-07-31T10:44:00+00:00Security considerations when parsing user-provided INI strings and files using `parse_ini_string` and `parse_ini_file` functions.How to extend lifetime of legacy PHP applicationshttps://php.watch/articles/extend-lifetime-legacy-php2023-01-31T10:44:00+00:00As PHP continue to evolve with new breaking changes, and while that is great for most PHP applications, there are legacy applications that can't justify the human and financial cost of keeping up. Here is a guide on how to extend the lifetime of legacy PHP applications with security updates and maintenance.PHP 8.2 Highlights: What's New and Changedhttps://php.watch/articles/PHP-8.22022-12-09T10:44:00+00:00Read about the highlights of PHP 8.2: Major new features, changes, and deprecated functionality.How to install/upgrade PHP 8.2 on Debian and Ubuntu systemshttps://php.watch/articles/install-php82-ubuntu-debian2022-10-31T10:44:00+00:00A detailed and a quick-start guide on installing and upgrading PHP 8.2 on Debian and Ubuntu systemsAll the Easter Eggs in PHPhttps://php.watch/articles/php-easter-eggs2022-09-30T10:44:00+00:00A trip down the memory with PHP's Easter Eggs over the yearsLaragon: Simple, Flexible, and Modern Development Server Environment for Windowshttps://php.watch/articles/laragon-windows-php2022-09-17T10:44:00+00:00Laragon is a modern, simple, and flexible Windows Development Environment that provides support for multiple PHP, Apache, and MySQL versions, with quick HTTPS setup, Quick-app templates, Composer, npm, and moreTesting Randomness of PHP Random Number Functionshttps://php.watch/articles/testing-php-rand-functions2022-08-31T10:44:00+00:00Visualizing and testing various Random Number Generators available in PHP.