Skip to main content

Update PHP in an App Hosting environment

Back up your application and database, check compatibility, and schedule a maintenance window before changing PHP. Redeploying can interrupt the application.

  1. Expand the environment in App Hosting. Record the PHP tag shown beside the application node and the node ID.
  2. Hover over the application node and choose Redeploy. Review the current tag in the redeployment dialog.
  3. Choose the target PHP version in Tag:. Each tag includes the web runtime and base-image version as well as PHP. Choose a complete tag that your application supports.
  4. Click Redeploy, read the confirmation, then click Yes. Wait for the task to finish before starting another update.
  5. Confirm the new tag in the dashboard. Check the running PHP version and application logs, then test sign-in, important pages, uploads, and any scheduled jobs your application uses.

Keep a tested recovery plan. Redeploying an older runtime does not undo application or database changes. If the task fails, save the error and node ID and contact support before retrying.

Troubleshoot an update that will not finish.

Available PHP runtime tags in the redeployment dialogConfirmation of the selected PHP runtime tag


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 3