Last verified ·
PHP2Shell step-by-step response
Commands are examples for the stated environment. Match the branch, service and paths to your site; prepare a backup and a maintenance window before changing production.
Start in WordPress or your host panel
Record the PHP version from Site Health, then open the host’s PHP selector for this domain. A WordPress/plugin update does not patch PHP. If only a branch such as 8.3 is shown, request the full build revision.
Prepare a recoverable change
Save site files, database, PHP configuration, extensions and the current image/package revision. Test restoring a copy. Record login, upload, checkout and scheduled-job checks before the change.
Get a precise answer from support
Send the request below with your domain. Ask for both CVE fixes, package/build evidence and worker restart confirmation. If the host cannot provide a patch or schedule, restrict the site and arrange migration; a “WAF enabled” reply is not patch evidence.
Next step →Verify the fix on the running website
Retain runtime/build evidence for both CVEs, restart timestamps and every pool/replica checked. Re-test business functions and effective temporary settings. A hidden response header or a clean URL-check result proves neither patching nor absence of compromise.
If upgrading causes HTTP 500
Keep the public site restricted. Read the first fatal error in private PHP/application logs and compare extensions, INI and Composer requirements. Restore the tested application/database/runtime set if necessary. Restoring a vulnerable runtime is a recovery step, not a security fix.
WordPress, shared hosting & managed services
Updating WordPress, Drupal or Joomla does not update the PHP interpreter. Ask the host for the site’s actual PHP handler, full package revision, both CVE references and restart completion. A control-panel branch selector may expose several builds with different patch states. For managed cloud services or appliances, follow the product vendor’s advisory instead of manually replacing a bundled runtime.
Which installations need attention?
PHP advises updating all installations serving Web requests, including PHP-FPM, Apache mod_php, php-cgi, FrankenPHP and LiteSpeed. WordPress, Drupal, Joomla, MediaWiki, Laravel and custom applications inherit the runtime risk. An application update alone does not replace PHP. Inventory embedded appliances, administrative interfaces, staging sites and containers as well as public production websites.
3. Restart and verify every instance
Installing a new binary leaves old worker processes in memory until they exit. Restart Apache for mod_php or the corresponding PHP-FPM services and pools. Restart queue workers and scheduled long-running processes too. Verify service start times, Web runtime version, package revision, health checks and every load-balanced replica. Delete any temporary diagnostic page immediately; do not leave phpinfo() publicly accessible.