phpmon: [Bug] PHP Extension Manager not showing any extensions on Intel Mac

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Firstly, I love this tool, even though I’ve only had it a few days.

I was on PHP 8.1, and wanted to use PHP 8.2. I installed that by using PHP Monitor. Switching one of my projects to 8.2 with PHP Monitor and going to example.test, I immediately got an error about missing the redis extension.

Coming back to it today, I’ve just updated it to v7 and noticed the new extensions feature, which I thought I could use to install redis, and then any other missing extensions.

However, opening the PHP Extension Manager, I can use the PHP version dropdown, but for all versions I choose, it says there are no extensions.

I’ve since switched back to PHP 8.1 so I can run my project, but it does show this in the menu bar if this helps

image

So it appears to pick up extensions I had prior to using PHP Monitor.

Maybe there is something I’m missing?

Expected Behavior

I was expecting the PHP Extension Manager to show a list of PHP extensions with an install button if not currently installed.

Steps To Reproduce

  1. Open PHP Monitor tool
  2. Click Manage PHP Extensions
  3. See a dropdown of PHP versions but whitespace where a list of extensions should be

Environment

- macOS: 13.4
- Valet: 4.1.2
- PHP Monitor: 7.0

Do you have a log file (or a screenshot) or any additional information?

PHP Extension Manager: image

Log: last_session.log

About this issue

  • Original URL
  • State: closed
  • Created 5 months ago
  • Comments: 15 (8 by maintainers)

Commits related to this issue

Most upvoted comments

Good to hear @nhunt290!

I’ll make sure to add a little warning in case no extensions are found (so people can run the command themselves).

Once that’s done, I’ll release this as version 7.0.1 so that people who have similar issues can fix this without needing to consult this issue thread. Thanks for reporting!

@nhunt290 Aha, so the tap is missing… PHP Monitor should have automatically run brew tap shivammathur/extensions and installed the required tap, but maybe there’s an issue there. Can you run it manually and let me know what happens? (If installing the tap worked, restart PHP Monitor and the list of extensions should show up.)

Thanks @marcorieser! I’ll put out this build on the release channel right away ASAP since it’s kind of a big issue otherwise!