Skip to content

WebCheatSheet

The easy way to know

  • PHP
  • HTML
  • JavaScript
  • SQL
  • ASP
  • MS Access Functions
  • SaaS
  • Email

Category: PHP

PHP

Fix PHP 8.4 Implicitly Nullable Parameter Warnings

Sergey KornilovOctober 17, 2026

Declare nullable types explicitly, update incompatible dependencies, and keep production error display separate from error logging.

PHP

Migrate Legacy Password Hashes During Symfony Login

Sergey KornilovOctober 17, 2026

Configure migrate_from, keep the legacy hasher available for verification, and persist the upgraded hash after a successful login.

PHP

Load Symfony Services by Namespace and Add a Compiler Pass

Sergey KornilovOctober 16, 2026

Use the PHP service configurator for namespace discovery and the kernel container builder for compiler-pass registration.

PHP

Connect PHP to PostgreSQL with Unix Socket Peer Authentication

Sergey KornilovOctober 16, 2026

Point PDO at the PostgreSQL socket directory, match the PHP process identity to a database role, and configure a narrow peer rule.

PHP

Run Laravel Queue Workers from Cron on Shared Hosting

Sergey KornilovOctober 15, 2026

Use a bounded queue worker from cron when shared hosting does not provide Supervisor, and log the command before debugging Laravel.

PHP

Diagnose Intermittent Apache 403 Client Denied Errors

Sergey KornilovOctober 14, 2026

Trace Apache authorization decisions across virtual hosts, .htaccess files, proxy addresses, and multiple backend nodes.

PHP

Diagnose Intermittent Nginx 502 Bad Gateway Errors

Sergey KornilovOctober 13, 2026

Correlate Nginx error logs with upstream health, connection failures, and read timeouts before changing proxy limits.

PHP

Use a Unix Socket with PHP cURL Without Configuring a Proxy

Sergey KornilovOctober 13, 2026

Use CURLOPT_UNIX_SOCKET_PATH for a local Unix-domain socket and reserve CURLOPT_PROXY for an actual HTTP or SOCKS proxy.

PHP

Replace spl_object_hash in PHP 8.6

Sergey KornilovOctober 12, 2026

Replace deprecated spl_object_hash with spl_object_id for temporary identity or WeakMap for object-keyed metadata.

PHP

Fix XAMPP Apache Duplicate Listen 443 Errors

Sergey KornilovOctober 11, 2026

Find duplicate Apache Listen 443 directives or a competing process before starting HTTPS in a local XAMPP environment.

Posts navigation

Older posts
Newer posts

Recent Posts

  • Reject NUL Bytes Before Symfony DateTime Validation
  • Create a PostgreSQL Schema Before Running Laravel Migrations
  • Verify an SSIS Build Artifact When Connection Managers Are Missing
  • Reject Invalid Symfony UUIDs Before Doctrine Queries
  • Do Not Use Twig _self as a Stable Translation or Cache Key

Recent Comments

  1. Build Accessible Tabs with JavaScript - WebCheatSheet on JavaScript Functions
  2. Remove SQL Server STX Characters before FOR XML – WebCheatSheet on Export a MySQL Database Schema as XML with PHP
  3. Parse Untrusted XML Safely with PHP XMLReader – WebCheatSheet on Export a MySQL Database Schema as XML with PHP
  4. Replace Curly-Brace String Offsets in PHP 8 – WebCheatSheet on PHP Arrays: Indexed, Associative, and Multidimensional
  5. Detect Hidden Document Text before LLM Ingestion – WebCheatSheet on Extract Text from a PDF with PHP

Archives

  • November 2026
  • October 2026
  • September 2026
  • August 2026
  • October 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022

Categories

  • ASP
  • Email
  • HTML
  • JavaScript
  • MS Access Functions
  • PHP
  • SaaS Architecture
  • SQL
  • Uncategorized
Copyright © 2026 WebCheatSheetFresh News by Ascendoor | Powered by WordPress.