Running Legacy PHP Applications with DDEV on Apple Silicon

Running Legacy PHP Applications with DDEV on Apple Silicon
KOBU Agency on Unsplash

Garvin Hicking, a TYPO3 contributor, outlines a method to run legacy PHP applications using DDEV on Apple Silicon Macs. Faced with the challenge of running TYPO3 4.5, which requires PHP 5.3 and MySQL 5.5 versions not natively supported by DDEV, Garvin devised a solution involving custom Docker configurations.

He created a base DDEV configuration and supplemented it with custom docker-compose files to specify legacy versions of PHP and MySQL. For PHP, he utilised the devilbox/php-fpm:5.3-work image, and for MySQL, he employed a legacy DDEV image with adjustments to accommodate ARM64 architecture. An Apache proxy was configured to route PHP requests appropriately.

This approach allowed the legacy TYPO3 project to run within DDEV, maintaining consistency with modern development workflows while supporting outdated software requirements. Garvin notes that while this setup is effective, it should be used cautiously, given the security implications of running unsupported software versions. 

The guide is well-structured and technically sound but clearly framed as a “last resort” for legacy maintenance. It’s a valuable reference for developers managing obsolete codebases in modern environments.

Source Reference

Date of Publication
Organization

Disclosure: This content is produced with the assistance of AI.

Disclaimer: The opinions expressed in this story do not necessarily represent that of TheDropTimes. We regularly share third-party blog posts that feature Drupal in good faith. TDT recommends Reader's discretion while consuming such content, as the veracity/authenticity of the story depends on the blogger and their motives. 

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please reach out to us at #thedroptimes channel on Drupal Slack and we will try to address the issue as best we can.

Related Organizations

Upcoming Events

Latest Opportunities