All Guides
PHP und MySQL Einrichtung
Installieren und konfigurieren Sie PHP 8.x und MySQL.
Intermediate25 Min.
Setup Steps
1. Install PHP 8.3:
sudo apt install php8.3 php8.3-fpm php8.3-mysql php8.3-xml php8.3-mbstring php8.3-curl php8.3-gd php8.3-zip php8.3-intl -y2. Install MySQL 8:
sudo apt install mysql-server -y3. Run MySQL security configuration:
sudo mysql_secure_installation4. Check PHP version:
php -v5. Start PHP-FPM:
sudo systemctl start php8.3-fpm
sudo systemctl enable php8.3-fpm6. Edit php.ini settings:
sudo nano /etc/php/8.3/fpm/php.ini
# Recommended settings:
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300
memory_limit = 256M7. Connect to MySQL:
sudo mysql -u root -p8. Create a new database and user:
CREATE DATABASE myapp;
CREATE USER 'appuser'@'localhost' IDENTIFIED BY 'Password123!';
GRANT ALL PRIVILEGES ON myapp.* TO 'appuser'@'localhost';
FLUSH PRIVILEGES;Related Guides
Linux VPS Server Einrichtung (Ubuntu)
Konfigurieren Sie Ihren Ubuntu-basierten VPS-Server von Grund auf.
Apache Webserver Einrichtung
Installieren Sie den Apache HTTP-Server und konfigurieren Sie virtuelle Hosts.
Nginx Webserver Einrichtung
Installieren Sie den Nginx-Webserver und konfigurieren Sie ihn als Reverse Proxy.
Let's Encrypt SSL-Zertifikat
Holen Sie sich ein kostenloses SSL/TLS-Zertifikat mit Certbot.