Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kartoffeltoby/php-brew-switcher-no-apache
a php homebrew switcher wrapper ignore apache stuff, fix issues with stupid macOS Catalina
https://github.com/kartoffeltoby/php-brew-switcher-no-apache
homebrew macos-catalina php56 php7 php71 php72 php73 php74 phpswitcher
Last synced: 9 days ago
JSON representation
a php homebrew switcher wrapper ignore apache stuff, fix issues with stupid macOS Catalina
- Host: GitHub
- URL: https://github.com/kartoffeltoby/php-brew-switcher-no-apache
- Owner: KartoffelToby
- Created: 2020-08-05T15:18:51.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-03T09:07:59.000Z (almost 4 years ago)
- Last Synced: 2024-11-18T21:16:03.736Z (2 months ago)
- Topics: homebrew, macos-catalina, php56, php7, php71, php72, php73, php74, phpswitcher
- Language: Shell
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# php-brew-switcher-no-apache / install php on macOS Catalina
> One thing you get for **free** from apple if you buy a macbook: DEV-Env problems.
**This repo has two main functions:**
1. PHP switcher without restarting or reanable apache on macOS (sphp.sh)
2. Install PHP's on macOS Catalina without hassle, install a php switcher that works with zsh and disable the annoying system default apache service (patch version to be compiled with the latest and savest openssl version that comes with macOS Catalina (install-php.sh)***if you want to remove all brew packages fist because you have messed up, comment in the for loop in install-php.sh (Warning will remove all brew installations first)***
# Installation
## All including php 5.6 - 7.4 macOS Catalina patch + PHP switcher + Disable default apache service
```
$ curl -L https://raw.githubusercontent.com/KartoffelToby/php-brew-switcher-no-apache/master/install-php.sh > install-php.sh
$ chmod +x install-php.sh
$ ./install-php.sh
```## Only switcher
```
$ curl -L https://raw.githubusercontent.com/KartoffelToby/php-brew-switcher-no-apache/master/sphp.sh > /usr/local/bin/sphp
$ chmod +x /usr/local/bin/sphp
```![alt text](https://pbs.twimg.com/media/Ebtj0UFXkAAJ2eQ.jpg "meme1")