¿Cómo puedo cambiar la versión de PHP de mi página web en DirectAdmin?

Different applications need different PHP versions. WordPress and most modern software run best on a recent, supported version. DirectAdmin lets you switch the PHP version for your site in a few clicks. Here is how.

¿Por qué es importante la versión de PHP? #

  • Las versiones más recientes son más rápidas y seguras.
  • Some plugins or scripts require a minimum version.
  • Very old versions may no longer receive security updates.

Step-by-step: change your PHP version #

  1. Inicia sesión en DirectAdmin (normalmente tudominio.com:2222).
  2. Ir a Gestor de cuentas y haga clic en Seleccione la versión de PHP (sometimes under “PHP Selector” or “Domain Setup”).
  3. Choose the domain if you have more than one.
  4. Select the PHP version you want from the dropdown.
  5. Haga clic en Guardar o Set as current.

Enabling PHP extensions #

After choosing a version you can often enable extra modules:

  • Look for a list of extensions on the same page.
  • Tick the ones your application needs (for example, mbstring o curl).
  • Guarda los cambios.

Comprobación de la versión activa #

  • Create a PHP info page, or
  • In WordPress, go to Herramientas > Estado del sitio > Información > Servidor to see the PHP version.

Solución de problemas #

  • Site breaks after switching: revert to the previous version, then update your software before trying again.
  • A plugin needs an extension: enable it in the PHP settings.
  • El cambio no se ha aplicado: clear any caching and reload.

Recommended approach #

  • Haz primero una copia de seguridad de tu página web.
  • Move up one version at a time if you are on something very old.
  • Test key pages and forms after each change.

¿Necesita ayuda? #

If you are not sure which version your site needs, our support team can advise you on live chat.

Cuáles son sus sentimientos