Last active
June 7, 2021 16:43
-
-
Save LinuxFintech/a0cf554ea295f3afc29a5b3dce22bc7d to your computer and use it in GitHub Desktop.
Install PHP 7.4 With Modules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update && apt-get upgrade | |
sudo apt-get install software-properties-common | |
sudo add-apt-repository ppa:ondrej/apache2 | |
sudo apt-get update | |
sudo apt install php7.4 libapache2-mod-php7.4 php7.4-common php7.4-mysql php7.4-gmp php7.4-ldap php7.4-curl php7.4-intl php7.4-mbstring php7.4-xmlrpc php7.4-gd php7.4-bcmath php7.4-xml php7.4-cli php7.4-zip | |
sudo nano /etc/php/7.4/apache2/php.ini | |
file_uploads = On | |
allow_url_fopen = On | |
short_open_tag = On | |
memory_limit = 256M | |
upload_max_filesize = 100M | |
max_execution_time = 360 | |
date.timezone = America/Chicago | |
#Now Save and Exit | |
sudo systemctl restart apache2.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment