Cara Atasi Error 500 Saat Instal WordPress di VPS Linux Print

  • 0

  1. Cek Log Error Server

    • Apache: /var/log/apache2/error.log

    • Nginx: /var/log/nginx/error.log

    • PHP-FPM: /var/log/php*/fpm-error.log

  2. Periksa Izin File & Folder

    sudo find /path/wordpress -type d -exec chmod 755 {} \; sudo find /path/wordpress -type f -exec chmod 644 {} \;
  3. Periksa File .htaccess

    • Rename sementara: .htaccess.bak

    • Akses kembali WordPress.

  4. Cek Konfigurasi PHP

    • Pastikan PHP versi minimal 7.4

    • Install modul penting: mysqli, curl, gd, mbstring, xml, json

    • Restart PHP/Apache/Nginx.

  5. Periksa Resource VPS

    • Pastikan RAM & CPU mencukupi: free -h / top

  6. Nonaktifkan Plugin/Theme Sementara

    mv wp-content/plugins plugins.bak mv wp-content/themes themes.bak
  7. Periksa Database

    • Pastikan user/password benar di wp-config.php

    • Repair database jika perlu:

      mysqlcheck -u root -p --auto-repair --all-databases

Tips: Backup WordPress sebelum melakukan perubahan besar.


Was this answer helpful?

« Back