remove php and install all the php extensions

 sudo apt-get remove php

php -v
sudo apt-get remove PHP
dpkg -l | grep php
sudo apt-get purge php*
sudo apt-get autoremove
dpkg -l | grep php
php -v
sudo rm -rf /etc/php/

2011 sudo apt-get update
2012 sudo add-apt-repository ppa:ondrej/php
2013 sudo apt-get update
2014 sudo apt-get install php8.1
2015 dpkg -l | grep php
2016 php -i | grep mbstring
2017 sudo apt-get install php8.1-mbstring
2018 php -v
2019 php -m | grep mbstring
2020 php -i | grep mbstring
2021 sudo apt-get install php-xml
2022 sh lstart-php-my-admin.sh
2023 sudo apt-get install php php-cli php-fpm php-json php-common php-mysql php-zip php-gd php-mbstring php-curl php-xml php-bcmath php-json php-imagick
2024 php -v


sudo apt-get install php php-cli php-fpm php-json php-common php-mysql php-zip php-gd php-mbstring php-curl php-xml php-bcmath php-json php-imagick

No comments:

Post a Comment

Event listening in react

 How we can listen to som eevents some envents fire like click or automatically user enters into input button , that is event on word type i...