philcook / brew-php-switcher

Brew PHP switcher is a simple shell script to switch your apache and CLI quickly between major versions of PHP. If you support multiple products/projects that are built using either brand new or old legacy PHP functionality. For users of Homebrew (or brew for short) currently only.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't stop/start phpXX service

jefflenz opened this issue · comments

Should add a brew services stop phpXX; brew services start phpYY so we don't have to do this manually every time I switch.

stupid question: what is the php service / when's it needed?

Hello.
@bkdotcom PHP-FPM services. They need to be stopped and started.

@jefflenz Look at PR #36 maybe.
We are many people using php-fpm + nginx so merging this PR is required for phpswitch.sh to be useful at all.