<div dir="ltr">Your backend is returning a HTTP 500, which likely indicates a PHP Fatal Error. You should check the error log for the site.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 27, 2017 at 10:28 AM, emios <span dir="ltr"><<a href="mailto:nginx-forum@forum.nginx.org" target="_blank">nginx-forum@forum.nginx.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I bought a new VPS and I try to transfer my working ZendApp (work in<br>
previous hosting with DirectAdmin). Now i install nginx with php5 and mysql<br>
i this is my php configuration - works well<br>
<br>
<a href="http://178.216.200.85/info.php" rel="noreferrer" target="_blank">http://178.216.200.85/info.php</a><br>
<br>
I turn on display errors in php.ini and it shows me error in writable<br>
/_cache/ folder soo i set it to 777 permission. Error resolved but i still<br>
have error and don't see anything in my site<br>
<a href="http://178.216.200.85/index.php" rel="noreferrer" target="_blank">http://178.216.200.85/index.<wbr>php</a><br>
<br>
I don't have any .htaccess file<br>
<br>
Here is my /etc/nginx/sites-avaible/<wbr>default content<br>
<br>
server {<br>
listen 80 default_server;<br>
listen [::]:80 default_server;<br>
<br>
# SSL configuration<br>
#<br>
# listen 443 ssl default_server;<br>
# listen [::]:443 ssl default_server;<br>
#<br>
# Self signed certs generated by the ssl-cert package<br>
# Don't use them in a production server!<br>
#<br>
# include snippets/snakeoil.conf;<br>
<br>
root /var/www/html;<br>
<br>
# Add index.php to the list if you are using PHP<br>
index index.php index.html index.htm index.nginx-debian.html;<br>
<br>
server_name 178.216.200.85;<br>
<br>
location / {<br>
# First attempt to serve request as file, then<br>
# as directory, then fall back to displaying a 404.<br>
try_files $uri $uri/ =404;<br>
}<br>
<br>
<br>
location ~ \.php$ {<br>
include snippets/fastcgi-php.conf;<br>
fastcgi_pass unix:/var/run/php5-fpm.sock;<br>
}<br>
<br>
location ~ /\.ht {<br>
deny all;<br>
}<br>
}<br>
<br>
What i should to add or someting to run my app in new server?<br>
<br>
Any advice will be very valuable<br>
<br>
Posted at Nginx Forum: <a href="https://forum.nginx.org/read.php?2,275676,275676#msg-275676" rel="noreferrer" target="_blank">https://forum.nginx.org/read.<wbr>php?2,275676,275676#msg-275676</a><br>
<br>
______________________________<wbr>_________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a><br>
</blockquote></div><br></div>