Posts tagged “PHP”

  1. 5 min read

    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.

  2. 6 min read

    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.

  3. 2 min read

    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.

  4. 2 min read

    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.