Older versions of WordPress/PHP

Is it possible to use old versions of wordPress/PHP in Local? Wordpress 3.8

Hi there, @RanaRenNumber1 - welcome to the Local community! :wave:

Local does not have a way to switch between versions of WordPress, and currently, the oldest PHP version supported in Local is 5.6.

That said, there are a few options:

  1. To change the WordPress version, some Local users have recommended this plugin:
  1. You could also import a site. That should preserve its WordPress version and PHP version.

Let me know if this helps,

Sam

How far back you can go depends upon your active version of PHP and whether or not you have a block theme active. You are only able to go back as far as there won’t be a PHP fatal due to core inconsistencies.

You can use WP-CLI to install any version. wp core upgrade --version=3.8 --force

1 Like

Thank you for the extra context @afragen!

This can also be a handy resource for that:

Sam

The logic is built into the plugin :wink:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.