Migrated prestashop website returns error 500

Z

Zulgrib

Guest
#1
Using nginx, php-fpm and mariadb from official repo

Loading website returns error 500 with no new line inside /var/log/mywebsite/nginx_error.log , php log /var/log/mywebsite/fpm-php.log is empty too.
Access log in /var/log/nginx/access.log do show someone tried to load stuff and produce lines like this


IP.IP.IP.IP - - [15/Jun/2016:14:48:57 +0200] "GET / HTTP/1.1" 500 5 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36"

Loading dumb phpinfo file from the same domain works and produce this line in access log.


IP.IP.IP.IP - - [15/Jun/2016:13:06:42 +0200] "GET /phpinfo.php HTTP/1.1" 200 24834 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36"

Using dumb html file as index works as expected.

php's logs inside journalctl shows nothing but the usual successful startup/shutdown

Files are stored inside a folder, in website's user home, this folder is symlinked to /srv/http. nginx do root to the /srv path, php has open_base_dir to the same place but no chroot made inside nginx's or php-fpm's service file yet.

Before migration, the website was running with apache, php 5 and mysql on a popular web hosting service, but I expected error logs to resolve potential problems.