Change PHP Version for a Website Печать

  • 1

Set different PHP versions for individual websites in DirectAdmin.

Steps

  1. Domain Management → Click your domain

  2. Click Modify Domain

  3. Click PHP Version Selector (near the top, next to ModSecurity)

  4. Select the PHP version you need

  5. Click Save

Available Versions

  • PHP 8.1+ (newer features, check compatibility)

After Changing

  1. Clear browser cache
  2. Test your website thoroughly
  3. Check error logs if issues appear

Common Issues

PHP Version Selector missing

  • Not all hosting plans include this feature
  • Contact support to enable it

Website shows errors after change

  • Revert to previous PHP version
  • Update your CMS/plugins to support newer PHP
  • Check error logs: System Info & Files → Log Viewer

Changes don't take effect

  • Wait 1-2 minutes for changes to propagate
  • Clear all caches (browser, CDN, site cache)
  • Try incognito/private browsing mode

Помог ли вам данный ответ?

« Назад

WHOIS Information

×
Loading WHOIS information...