raspberry pi güncelleme
sudo apt-get update
sudo apt-get upgrade
sudo apt-get clean
apache server yükleme
sudo apt-get install apache2
kurulu herhangi bir php versiyonu var ise kaldırıyoruz
sudo apt-get remove '^php.*'
php kurulumu
sudo apt install php libapache2-mod-php
php yüklemesini kontrol
php -v
PHP 7.4.26 (cli) (built: Nov 22 2021 09:47:04) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.26, Copyright (c), by Zend Technologies