Search Results: Found 2
Upgrading to PHP 8.4? How to Fix the `session.sid_length` Deprecation Warning
2025-11-20 DP

Encountering `session.sid_length` and `session.sid_bits_per_character` deprecation warnings after upgrading to PHP 8.4 or newer? This is a core PHP configuration change, not a framework-specific issue (like in Yii2). This article dives into the root cause and provides a step-by-step guide to update your `php.ini` file, helping you fix the warnings and ensure your session management is secure and future-proof.

Why Does My Nginx + PHP-FPM Seem Single-Threaded? Unmasking the PHP Session Lock
2025-11-15 DP

Have you ever noticed that a long-running PHP request blocks all other requests from the same user, making your high-performance Nginx server appear to be single-threaded? This isn't an Nginx issue. This article dives deep into the root cause—PHP's default session file locking mechanism—and provides three effective solutions, including the best practice `session_write_close()`, to eliminate concurrency bottlenecks and unleash your server's full potential.