Skip to content
ferkesh.HOSTING

How to Change a Website’s PHP Version in Plesk

Plesk 71 مشاهدات Markdown
Diagram linking Current runtime, Compatibility, Staging check and Production verification.

Change PHP for the website through its own Plesk PHP Settings page when your subscription permits it. The selected version affects web requests for that site. Command-line PHP or scheduled tasks can use a different binary, and should be tested separately when relevant.

Choose a version supported by all components

Record the current version, handler and relevant extensions. Check the application, plugins and theme against their vendor’s support information and review PHP’s support schedule. Take a current backup and test the new version on staging. Include sessions, uploads, database use and any integration the site depends on. A passing front page is useful but insufficient for an interactive site.

Apply and verify the correct subscription

Open Websites & Domains, confirm the domain and choose PHP Settings. Select the tested version and handler offered by the provider. If the necessary option or extension is missing, ask your provider rather than attempting a server-wide change. Apply the setting during the planned window. Open several public URLs, sign in through a permitted account and inspect logs for new warnings or fatal errors.

Restore the previous runtime if necessary

If critical functionality fails, restore the previous version and handler using your checkpoint. If application updates also changed files or database structure, a PHP setting alone might not restore the site. Keep production error display disabled and share redacted log lines with the maintainer.

Official references

Ferkesh Hosting. Last reviewed .

هل كان هذا مفيدًا؟

شكرًا على ملاحظاتك!

هل ما زلت بحاجة إلى مساعدة؟

فريق الدعم متاح على مدار الساعة لمساعدتك في كل ما لم تجده في قاعدة المعرفة.