David Pilling |
Main »
Getting PHP working on Apache2Started 18th March 2021 sudo apt install php libapache2-mod-php php-mysql sudo systemctl reload apache2 a2enmod php7.4
AddType application/x-httpd-php .php .html
sudo nano apache2.conf
<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory>
sudo apt-get install php7.4-gd sudo service apache2 restart |
David Pilling's Wiki Set view |
Page last modified on March 18, 2021, at 03:09 AM - Powered by PmWiki pmwiki-2.3.31 (pmwiki-2.3.31) |