Serba-serbi Apache & PHP di Ubuntu
1. Cek Services yang Running:
systemctl --type=service --state=running
2. Cek PHP:
sudo ps aux | grep -i 'php|fpm'
ps aux | grep php-fpm
3.a. Hapus PHP versi lama:
sudo apt -y purge php7.x*
3.b Non-aktifkan PHP lama:
sudo a2dismod php7.x
3.c Aktifkan PHP versi baru:
sudo a2enmod php8.x
4. Restart Apaache Service:
sudo systemctl restart apache2.service
5. Cek Apache dan PHP Runnning:
sudo nano phpinfo.php
<?phpphpinfo();
?>