Every now and then, the Local team pushes out updates to the downloadable Lightning Services (PHP, MySQL, web servers, etc) in Local.
Reasons for these updates include config changes to better facilitate local development, adjusting PHP extensions, or general bug fixes/improvements limited to the scope of the service.
Local does not have a way to update Lightning Services in the UI so it must be done manually. (Note: we have plans to add a way to do so!)
Updating Lightning Services
Quit Local if it’s running
Delete the services to be updated.
For macOS: Navigate to
~/Library/Application Support/Local/lightning-servicesin Finder and delete the services you wish to update.
Tip: Command + Shift + G and then paste the path above to quickly go to it.
For Windows: Navigate to
%Appdata%\Local\lightning-servicesin the File Explorer and delete the services you wish to update.
Add a new site and select the services you wish to download again under the “Custom” environment. Repeat this step for any other services you wish to download.
Note: Without step #4, you will see errors when starting sites with the services that you deleted in step #2.