brew-php-switcher icon indicating copy to clipboard operation
brew-php-switcher copied to clipboard

apache config does not change

Open eydun opened this issue 2 years ago • 2 comments

Thanks for building this great brew package.

I have used it for switching between php 7.4 and php 8.1 in the terminal. It works great.

But it does not modify the apache httpd config file for the chosen php version.

I am on Mac (M1 Max).

Please advice.

eydun avatar May 12 '22 15:05 eydun

@eydun can I ask how you have installed apache? Is it the native or via Homebrew? Also what version on MacOs are you running as they might have changed something in a later version that I need to test and update the code.

philcook avatar May 13 '22 09:05 philcook

Thank you for the prompt reply.

Also what version on MacOs are you running

It is Monterey ver 12.3.

how you have installed apache? Is it the native or via Homebrew?

It is via Homebrew. The location of httpd.conf is /opt/homebrew/etc/httpd/

eydun avatar May 13 '22 10:05 eydun