PHP Configuration Inspector

Paste php.ini, php -i or a saved phpinfo() page and get a production check: security, errors, uploads, sessions, OPcache, PHP version support and extensions.

Tool

Was this tool useful?

About this tool

About PHP Configuration Inspector

Check a hosting account or server before going live. Paste your php.ini, the output of “php -i” or a saved phpinfo() page and the inspector reviews the settings that matter: errors shown to visitors, error logging, expose_php, allow_url_include, session cookie flags, disable_functions, memory and upload limits (including the common post_max_size mistake), execution time, time zone and OPcache. It shows the PHP version’s security support date, checks extensions for WordPress or Laravel and gives a ready list of suggested settings.

How it works

Each finding has a weight: serious issues (such as display_errors On or allow_url_include On) cost 18 points and warnings 6 from a score of 100. PHP support dates are from php.net (8.1 ended 31 Dec 2025; 8.2 ends 31 Dec 2026; 8.3 ends 31 Dec 2027).

Example

display_errors = On, post_max_size 8M with upload_max_filesize 64M and session.cookie_httponly = 0 give 3 serious problems: big uploads fail silently and error messages are shown to visitors.

How to use this tool

  1. Paste the settings (or choose the file).
  2. Choose WordPress or Laravel to check extensions.
  3. Fix the red items and copy the suggested settings.

Frequently asked questions

Is it safe to keep a phpinfo() page online?

No – it shows paths, versions and settings attackers love. Save the page, then delete the file.

Is my configuration uploaded?

No – it is checked in your browser.

Is my data uploaded?

No. Everything runs in your browser and stays on this device.

Does the PHP Configuration Inspector send my data to a server?

No. The PHP Configuration Inspector runs entirely in your browser using JavaScript, so tokens, code and data you paste stay on your device. You can even use it offline once the page has loaded.