Skip to navigationSkip to main contentSkip to footerScaleway Docs HomepageAsk our AI
Ask our AI

PHP 5.6 Migration Guide – Compatibility Changes and Required Actions

As part of our security measures, Scaleway is upgrading Web Hosting websites running on PHP 5.2, 5.4, and 5.5 to PHP 5.6.

This change may affect older websites, particularly those using outdated CMS versions, plugins, or custom PHP code.

Important

PHP 5.6 no longer receives official security updates. This migration is a transitional measure, and upgrading to a currently supported PHP version remains recommended.

Main compatibility changes

FeaturePotential impactRecommended action
MySQL functionsmysql_* functions are deprecated but still supported if the extension is enabled.Migrate to MySQLi or PDO.
Deprecated functionsFunctions such as ereg(), split(), or session_register() may generate warnings or no longer work.Replace outdated functions.
SSL/TLS connectionsPHP 5.6 verifies SSL certificates by default, potentially breaking external connections.Check HTTPS, SMTP, and API integrations.
PHP configurationLegacy settings such as register_globals and magic_quotes_gpc are no longer supported.Review application configuration.
Legacy codeOlder PHP scripts may behave differently or generate errors.Check PHP logs and test critical features.

CMS and framework compatibility

If your website uses a CMS or framework, verify its compatibility with PHP 5.6.

PlatformWhat to check
WordPressWordPress version, plugins, and themes
PrestaShopVersion compatibility, payment and shipping modules
Joomla! / DrupalCore version, templates, and extensions
Symfony / Other frameworksFramework version and PHP dependencies

Older versions may require updates before working correctly with PHP 5.6.

What should you do?

After the migration:

  1. Check your website: verify that pages load correctly.
  2. Test key features: forms, authentication, payments, database access, and emails.
  3. Review PHP error logs: look for fatal errors, warnings, and deprecated functions.
  4. Update incompatible code, plugins, or CMS components if necessary.

If you encounter hosting-related issues, contact Scaleway Support (External link).

Additional resources

Still need help?

Create a support ticket
No Results