Difference between revisions of "Php"

From Wasya Wiki
Jump to: navigation, search
(Created page with " == Install == sudo apt-get install php -y sudo apt-get install -y php-{bcmath,bz2,intl,gd,mbstring,mysql,zip} && sudo apt-get install libapache2-mod-php -y")
 
Line 5: Line 5:
 
  sudo apt-get install php -y
 
  sudo apt-get install php -y
 
  sudo apt-get install -y php-{bcmath,bz2,intl,gd,mbstring,mysql,zip} && sudo apt-get install libapache2-mod-php  -y
 
  sudo apt-get install -y php-{bcmath,bz2,intl,gd,mbstring,mysql,zip} && sudo apt-get install libapache2-mod-php  -y
 +
 +
== install 7.0 on mac ==
 +
From: https://joostvanveen.com/a-29/install-and-configure-multiple-php-versions-on-mojave-with-homebrew
 +
brew tap exolnet/homebrew-deprecated
 +
brew install php@7.0

Revision as of 00:04, 25 November 2019


Install

sudo apt-get install php -y
sudo apt-get install -y php-{bcmath,bz2,intl,gd,mbstring,mysql,zip} && sudo apt-get install libapache2-mod-php  -y

install 7.0 on mac

From: https://joostvanveen.com/a-29/install-and-configure-multiple-php-versions-on-mojave-with-homebrew

brew tap exolnet/homebrew-deprecated
brew install php@7.0