![]() ![]() ![]() Windows users can find the PHP 7.4 distributions on the website.Īdditional instructions for installing the distribution can be found in this blog post: phpbrew Drop a comment below if you know of a working installation method and we'll add the installation steps here! Windows ![]() We don't yet have information on how to install PHP 7.4 on a Mac. Refer to Remi's blog post for additional information on how to install this depending on which OS version you're running. Or for parallel installation as a software collection, if you prefer to keep existing versions: yum install php74 RHEL/Centos 7 or Fedora: yum-config-manager -enable remi-php74 RHEL/Centos 8 or Fedora modular: dnf module reset php Remi's RPM repository has RPMs for the latest PHP 7.4 builds. Or list the exact packages you want instead: sudo apt install php7.4-cli php7.4-fpm php7.4-bcmath php7.4-curl php7.4-gd php7.4-intl php7.4-json php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-sqlite3 php7.4-xml php7.4-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.4 with all the defaults like this: sudo apt install php7.4 ![]() Add the repository with these commands: sudo apt install -y apt-transport-https lsb-release ca-certificates wget Ondřej Surý also provides PHP 7.4 packages for Debian. Or you can specify individual packages like this instead: sudo apt-get install php7.4-cli php7.4-fpm php7.4-bcmath php7.4-curl php7.4-gd php7.4-intl php7.4-json php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-sqlite3 php7.4-xml php7.4-zip You can then install PHP 7.4 with all common extensions and SAPIs like so: sudo apt install php7.4 PHP 7.4 and commonly-used extensions can be installed by adding Ondřej Surý's PPA: sudo apt install -y software-properties-common Here's a brief guide on how to install PHP 7.4 on Linux, Windows, and Mac OS X: Ubuntu PHP 7.4 has just been released! This latest version adds several new features to the language such as arrow functions for shorter one-liner functions, typed properties in classes, covariant & contravariant type handling, Preloading for better performance, and much more! ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |