1. Websta Hosting
PHP & Server Configuration

How to Change Your PHP Version

How to Change Your PHP Version

Steps

  1. Log in to DirectAdmin โ†’ PHP Configuration.
  2. Select the domain.
  3. Choose the PHP version (e.g. 8.2, 8.3).
  4. Click Save.

Recommended PHP Versions

Application Recommended PHP
WordPress 8.2 or 8.3
Laravel 8.2 or 8.3
Magento 2 8.2
Legacy apps 7.4 or 8.0

Always check your application's official documentation.

Verify Active Version

Create public_html/phpinfo.php:

<?php phpinfo();

Visit https://yourdomain.com/phpinfo.php. Delete this file immediately after checking.

Still need help?

If this article didn't answer your question, our support team can help.

Contact support
All articles More in PHP & Server Configuration