Restart
Japanese 再起動
Turning a program off and on again. Even after you update PHP, the old program keeps running until you restart it.
When a program starts, it loads what it needs into memory and keeps running from there. So even if you replace its files with a new version, the program that is already running keeps using the old content. Only after it is turned off and on again does it read the new files. It is the same reason a phone app only shows its new features after you close it and open it again.
Watch out On a server, a PHP update only takes effect once PHP and related programs such as the web server have been restarted. But if you suspect an intrusion, preserve the logs before restarting: a restart can wipe clues that existed only in memory. KISA's PHP2Shell response guide also pairs updating with restarting. The website may not open for a moment during the restart, so it is best done when few people are visiting.
Source: KISA, “Security response guidelines for businesses on the PHP vulnerability (PHP2Shell)” (checked 2026-10-26)