Posts tagged “PHP”
Tuning PHP-FPM: how to calculate pm.max_children
Set PHP-FPM's pm.max_children by measuring, not guessing. Measuring process memory, the formula, pm modes, the status page and the slowlog.
PHP security checklist: the 8 holes I find most in real projects
SQL injection, XSS, CSRF, password storage, sessions, file uploads and error settings: the most common holes in PHP projects, with code examples for each fix.
Making a WHMCS theme update-safe: child themes and hooks
A child theme structure, the template markup you must keep, and hook-based customisation without touching the core, so your custom theme survives WHMCS updates.
Customising WiseCP without touching the core: first steps with hooks
Modules, themes, hooks and the API explained, plus practical examples with action, filter and gate hooks, so your WiseCP extensions survive every update.