Skip to content

Instantly share code, notes, and snippets.

@cloudybdone
Created December 13, 2021 16:30
Show Gist options
  • Select an option

  • Save cloudybdone/4d4dc1e1a6c1104619aaee04dcf25b50 to your computer and use it in GitHub Desktop.

Select an option

Save cloudybdone/4d4dc1e1a6c1104619aaee04dcf25b50 to your computer and use it in GitHub Desktop.
I Will Install Python & PHP in Ubuntu Linux
If you need anything related with Python,PHP & PIP install into Linux contact:
Telegram: https://t.me/Cloudybdone
WhatsApp: https://wa.link/3j794g
Skype: https://join.skype.com/invite/vLFaKHxboQrc
Email: cloudybdone@gmail.com
Linkedin: https://www.linkedin.com/in/cloudybdone/
Facebook: https://www.facebook.com/cloudybdone/
About Me: https://about.me/cloudybdone
# Install PHP & check version
apt install software-properties-common
apt install -y php7.3
apt install libapache2-mod-php7.3 php7.3 unzip php7.3-xml php7.3-mysql......
systemctl status php7.4-fpm
nano /etc/php/7.4/apache2/php.ini
file_uploads = On
allow_url_fopen = On
short_open_tag = On
memory_limit = 1024M
# SWITCH PHP VERSION
update-alternatives --config php
Python install..
udo apt-get install build-essential checkinstall
sudo wget https://www.python.org/ftp/python/3.8.6/Python-3.8.6.tgz
sudo tar xzf Python-3.8.6.tgz
alias python=python3
alias pip=pip3
source ~/.bashrc
sudo apt update
@cloudybdone

Copy link
Copy Markdown
Author

Screenshot from 2021-12-12 23-46-01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment