[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nginx
Subject:    Re: Transfer Zend App to new VPS show blank page
From:       Richard Stanway <r1ch+nginx () teamliquid ! net>
Date:       2017-07-27 11:10:14
Message-ID: CAKWQeyhnAFu33UCTZQgV9EYmakmWehYuhSR_N-hPj3bZdum3rg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Your backend is returning a HTTP 500, which likely indicates a PHP Fatal
Error. You should check the error log for the site.

On Thu, Jul 27, 2017 at 10:28 AM, emios <nginx-forum@forum.nginx.org> wrote:

> I bought a new VPS and I try to transfer my working ZendApp (work in
> previous hosting with DirectAdmin). Now i install nginx with php5 and mysql
> i this is my php configuration - works well
>
> http://178.216.200.85/info.php
>
> I turn on display errors in php.ini and it shows me error in writable
> /_cache/ folder soo i set it to 777 permission. Error resolved but i still
> have error and don't see anything in my site
> http://178.216.200.85/index.php
>
> I don't have any .htaccess file
>
> Here is my /etc/nginx/sites-avaible/default content
>
> server {
>     listen 80 default_server;
>     listen [::]:80 default_server;
>
>     # SSL configuration
>     #
>     # listen 443 ssl default_server;
>     # listen [::]:443 ssl default_server;
>     #
>     # Self signed certs generated by the ssl-cert package
>     # Don't use them in a production server!
>     #
>     # include snippets/snakeoil.conf;
>
>     root /var/www/html;
>
>     # Add index.php to the list if you are using PHP
>     index index.php index.html index.htm index.nginx-debian.html;
>
>     server_name 178.216.200.85;
>
>     location / {
>         # First attempt to serve request as file, then
>         # as directory, then fall back to displaying a 404.
>         try_files $uri $uri/ =404;
>     }
>
>
>     location ~ \.php$ {
>         include snippets/fastcgi-php.conf;
>         fastcgi_pass unix:/var/run/php5-fpm.sock;
>     }
>
>     location ~ /\.ht {
>         deny all;
>     }
> }
>
> What i should to add or someting to run my app in new server?
>
> Any advice will be very valuable
>
> Posted at Nginx Forum: https://forum.nginx.org/read.
> php?2,275676,275676#msg-275676
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>

[Attachment #5 (text/html)]

<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">&lt;<a href="mailto:nginx-forum@forum.nginx.org" \
target="_blank">nginx-forum@forum.nginx.org</a>&gt;</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&#39;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&#39;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&#39;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>



_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic