Phpbrew is an amazing tool that helps you download, compile, and manage multiple versions of PHP on your machine. Windows users can find the PHP 7.3 distributions on the website.Īdditional instructions for installing the distribution can be found in this blog post: phpbrew Or, if you prefer using Homebrew: brew install Windows
PHP 7.3 can be installed easily using Liip's php-osx tool - simply run the following in your terminal: curl -s | bash -s 7.3
#Mac update php to 7.3 how to#
Refer to Remi's blog post on how to best install this depending on which OS version you're running. Remi's RPM repository has RPMs for the latest PHP 7.3 builds. Or list the exact packages you want instead: sudo apt-get install php7.3-cli php7.3-fpm php7.3-bcmath php7.3-curl php7.3-gd php7.3-intl php7.3-json php7.3-mbstring php7.3-mysql php7.3-opcache php7.3-sqlite3 php7.3-xml php7.3-zip Sudo wget -O /etc/apt//php.gpg Įcho "deb $(lsb_release -sc) main" | sudo tee /etc/apt//php.listĪnd then either install PHP 7.3 with all the defaults like this: sudo apt-get install php7.3 Add the repository with these commands: sudo apt-get install -y apt-transport-https lsb-release ca-certificates wget Ondřej Surý also provides PHP 7.3 packages for Debian 8 (Jessie) and Debian 9 (Stretch). Or you can specify individual packages like this instead: sudo apt-get install php7.3-cli php7.3-fpm php7.3-bcmath php7.3-curl php7.3-gd php7.3-intl php7.3-json php7.3-mbstring php7.3-mysql php7.3-opcache php7.3-sqlite3 php7.3-xml php7.3-zip You can then install PHP 7.3 with all common extensions and SAPIs like so: sudo apt-get install php7.3 PHP 7.3 and commonly-used extensions can be installed by adding Ondřej Surý's PPA: sudo add-apt-repository ppa:ondrej/php Here's a brief guide on how to install PHP 7.3 on Linux, Windows, and OS X: Ubuntu PHP 7.3 has been released, bringing some great new features to the language such as trailing commas in function calls, throwing errors when JSON parsing fails, array_key_first() / array_key_last() functions, and much more!