Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Error 500 in my webpage

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
northwest
Posts: 16
Joined: Wed Sep 30, 2015 6:33 pm

Error 500 in my webpage
  • Quote

Post by northwest » Wed Nov 18, 2015 4:56 pm

Hi,
I have website (php, mysql) and sometimes i have error 500. How can i check what is the problem?
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: Error 500 in my webpage
  • Quote

Post by tjebbeke » Thu Nov 19, 2015 4:49 pm

You can check your error log in /home/username/web/domainname.com/logs
Top

mike08
Posts: 160
Joined: Sat Jun 20, 2015 7:12 am

Os: Debian 6x
Web: apache + nginx
Re: Error 500 in my webpage
  • Quote

Post by mike08 » Mon Nov 23, 2015 9:42 am

Add this to your code:

Code: Select all

ini_set('display_errors', 'On');
error_reporting(E_ALL);
This should display errors on your pages.
Top

nicknone
Posts: 5
Joined: Wed Nov 04, 2015 1:07 pm
Contact:
Contact nicknone
Website

Re: Error 500 in my webpage
  • Quote

Post by nicknone » Mon Nov 23, 2015 12:27 pm

Yea agree with @tjebbeke
Check your error on following path /home/username/web/domainname.com/logs
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password