sphp.sh
sphp.sh copied to clipboard
Shell script for switching between Brew-installed PHP versions
Hello, how to change PHP version to newest installed if even when installed as **brew install shivammathur/php/[email protected]** php is placed on **/opt/homebrew/Cellar/php/8.3.0** directory and when i try **sphp 8.3** i...
I am using MacBook Pro 13 with macOS Sonoma . The problem is when I switch to php version the system does't show the changes only shows the changes after...
It'd be awesome if the script could auto-detect whether you installed PHP via homebrew or via MacPorts, and work accordingly. (A big request, I know ... maybe I'll work on...
As PHP 8.3 is now in development and available in brew, it would be nice to have it in this script too :)
I believe I've done some mess with my installation, as the switch script only works when I do `sudo apachectl -k start` afetrwards. What have I done wrong' Thanks.
Maybe can you add some version to work with nginx? I think it's very easy, you need to modify your site.conf to fasctcgi_pass 127.0.0.1:port and reload nginx.
Hello :) INTEL PLATFORM ISSUE (I think) First, a big thanks to this super documentation, really complete and very clear! Bravo --> https://getgrav.org/blog/macos-sequoia-apache-multiple-php-versions There's just one thing that doesn't work:...