php.ini (PHP configuration file)
Japanese php.ini
The configuration file that sets how PHP behaves. When you cannot update right away, temporary measures also go in this file or in the PHP-FPM settings.
php.ini is the rulebook that sets how PHP behaves. It decides things like how much memory PHP can use at once, how large an uploaded file may be, and whether errors are shown on screen. Like the house rules posted in a shop, PHP reads this file when it starts and follows it. When a server uses PHP-FPM, similar rules can also go into PHP-FPM's own settings files.
Watch out On shared hosting you usually cannot edit this file directly; instead, the control panel lets you change some of its items on a settings screen. Temporary measures you put here when you cannot update right away only buy time; they do not replace the update. If you edit the file yourself, keep a copy of the original, and remember that changes often take effect only after PHP is restarted. You can see the values actually in effect with a PHP check file, but delete that file as soon as you have looked.
Source: PHP Manual, “The configuration file” · PHP Group, “Security advisory: Critical remote code execution vulnerabilities, update now” · KISA, “Security response guidelines for businesses on the PHP vulnerability (PHP2Shell)” (checked 2026-10-26)