Enable version php = sudo a2enmod php5.6
Disable version php = sudo a2dismod php7.3
restart = udo systemctl restart apache2
check versions enabled = ls -l mods-*/*php*
test sintaxe apache = apache2ctl configtest
change version php = sudo update-alternatives --config php
Last active
February 28, 2022 16:46
-
-
Save petronioamaral/7688a0950e2df250755225b842a6f2ac to your computer and use it in GitHub Desktop.
Linux Commands - Apache
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment