Page 1 of 1

internal 500 error in php pages "Resolved"...

Posted: Thu Dec 03, 2015 5:19 pm
by willamsphp
I'm having the following problem.
When I opened my site with html pages the Vesta operates normally

example: http://ksystem.com.br "no error"

more when trying to open any page that is not in php open of the error 500

example: https://ksystem.com.br/financeiro/index.php "with error"

Another thing I noticed and that this problem only happens with some php files with others does not happen this error

example: http://perfuratriz.ml "no error"

example: http://leia.tk/index.php "no error"

example: http: // http://leia.tk/galeria/index.php "with error"

Re: internal 500 error in php pages

Posted: Thu Dec 03, 2015 6:24 pm
by tjebbeke
Check error log, is probably an error in your script.

Re: internal 500 error in php pages

Posted: Fri Dec 04, 2015 2:49 am
by willamsphp
tjebbeke wrote:Check error log, is probably an error in your script.

Excuse my ignorance am newbie very little experience.

As do to see error log

Re: internal 500 error in php pages

Posted: Fri Dec 04, 2015 12:07 pm
by imperio
Hi,
What web stack and OS on your server ?

Re: internal 500 error in php pages

Posted: Fri Dec 04, 2015 7:58 pm
by willamsphp
imperio wrote:Hi,
What web stack and OS on your server ?
Ubuntu 14.04.1 LTS (GNU / Linux 3.13.0-43-generic x86_64)

VestaCp Version: 0.9.8 (amd64) Release: 15

Re: internal 500 error in php pages

Posted: Fri Dec 04, 2015 8:25 pm
by imperio
web stack
nginx + php-fpm or apache + nginx ?

Re: internal 500 error in php pages

Posted: Sat Dec 05, 2015 1:04 am
by willamsphp
imperio wrote:
web stack
nginx + php-fpm or apache + nginx ?
apache + nginx

Re: internal 500 error in php pages

Posted: Wed Dec 09, 2015 10:50 pm
by willamsphp
Resolved...

in /var/log/apache2/domains/seudominio.com.error.log
And I indentifiquei the error.
The problem really wrong in my php script unresolved rookie mistake.
open php <? and closed?> this error caused 500 browser solved correcting all my php script with NetBeans 8.1
The correct way.
<? php "Conteudo" ?>