Install PHP Extension Using Old Mac

Hey @braddalton – the instructions for compiling additional PHP extensions that were linked in the associated StackOverflow thread are here:

Those instructions are for a much older version of Local (we sometimes call that “Local Classic”) and were specific to when Local used Docker to manage the PHP process.

Since the 5.x version, Local no longer uses Docker and there isn’t a good way to compile additional extensions for PHP that Local uses. This mostly has to due with the way that PHP is compiled for MacOS, and in particular the various code-signing steps that we’ve had to do to run PHP natively for Local.

Can you give us a little more detail about the phpspreadsheet extension? Is this a requirement for a WP plugin you are using on a site?

1 Like