Select location & language
  • Österreich German
  • Australia English
  • België Dutch
  • Canada English
  • Schweiz German
  • Deutschland German
  • Eesti English
  • Ελλάδα English
  • España Spanish
  • France French
  • Hrvatska English
  • Italia English
  • Latvija English
  • Lietuva English
  • Nederland Dutch
  • Norge Norwegian
  • Polska Polish
  • Portugal Portuguese
  • Slovensko English
  • Suomi Finnish
  • Sverige Swedish
  • United Kingdom English
  • United States English
  • American Samoa English
  • Andorra English
  • Anguilla English
  • Antarctica English
  • Bermuda English
  • British Indian Ocean Territory English
  • British Virgin Islands English
  • Cayman Islands English
  • Christmas Island English
  • Città del Vaticano English
  • Cocos (Keeling) Islands English
  • Falkland Islands English
  • French Southern Territories English
  • Gibraltar English
  • Guadeloupe French
  • Guam English
  • Guernsey English
  • Guyane française French
  • Heard & McDonald Islands English
  • Ireland English
  • Isle of Man English
  • Jersey English
  • Liechtenstein German
  • Luxembourg French
  • Malta English
  • Martinique French
  • Mayotte English
  • Monaco French
  • Montserrat English
  • New Zealand English
  • Norfolk Island English
  • Northern Mariana Islands English
  • Pitcairn Islands English
  • Puerto Rico Spanish
  • Réunion English
  • San Marino English
  • Slovenija English
  • St. Barthélemy English
  • St. Helena English
  • St. Martin English
  • St. Pierre & Miquelon English
  • Svalbard & Jan Mayen English
  • Turks & Caicos Islands English
  • U.S. Outlying Islands English
  • U.S. Virgin Islands English
  • Åland Islands English
  • Κύπρος English
  • Црна Гора English

Comment puis-je modifier la version PHP de mon site web dans DirectAdmin ?

1 min lire

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.

Pourquoi la version de PHP est-elle importante ? #

  • Les versions plus récentes sont plus rapides et plus sûres.
  • 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. Connectez-vous à DirectAdmin (généralement votredomaine.com:2222).
  2. Aller à Gestionnaire de comptes et cliquez sur Sélectionner la version 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. Cliquez sur Économiser ou 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 ou curl).
  • Enregistrez vos modifications.

Vérification de la version active #

  • Create a PHP info page, or
  • In WordPress, go to Outils > État du site > Informations > Serveur to see the PHP version.

Dépannage #

  • 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.
  • Modification non appliquée : clear any caching and reload.

Recommended approach #

  • Commencez par sauvegarder votre site.
  • Move up one version at a time if you are on something very old.
  • Test key pages and forms after each change.

Besoin d'aide ? #

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

Quels sont vos sentiments ?