在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:shivammathur/homebrew-php开源软件地址:https://github.com/shivammathur/homebrew-php开源编程语言:Ruby 100.0%开源软件介绍:brew tap shivammathur/phpPHP Support
OS Support
On Linux, UsagePrerequisites
xcode-select --install
# Using APT
sudo apt-get install -y curl git
# Using Yum
sudo yum install -y curl git
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew update
Add this tapFetch the formulae in this tap: brew tap shivammathur/php Install PHP
brew install shivammathur/php/[email protected]
brew link --overwrite --force shivammathur/php/[email protected]
php -v Upgrade your PHP versionYou can upgrade your PHP version to the latest patch release. For example, to upgrade brew upgrade shivammathur/php/[email protected] Switch between PHP versions
For example, to switch to brew link --overwrite --force shivammathur/php/[email protected]
Warning: Already linked: <Cellar Path>
To relink:
brew unlink <formula> && brew link <formula> brew unlink [email protected]
brew link --overwrite --force shivammathur/php/[email protected] Restart your webserverIf you are using
brew services restart httpd
brew services restart nginx Debugging
sudo chown -R "$(id -un)":"$(id -gn)" $(brew --prefix)
For example to reinstall brew reinstall $(brew deps shivammathur/php/[email protected]) shivammathur/php/[email protected]
LicenseThe code in this project is licensed under the MIT license. Please see the license file for more information. This project has some dependencies, and their license can be found here. ContributionsContributions are welcome! Please see Contributor's Guide before you start. If you face any issues while using this tap or want to suggest a feature/improvement, create an discussion thread here. SponsorsWe use MacStadium for our CI infrastructure. This project is generously supported by many other users and organisations via GitHub Sponsors. Related ProjectsDependencies |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论