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 General Discussion RHEL/CentOS
  • Search

Display PHP error in wordpress site

RHEL/CentOS related topics
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Loc_rabbirt
Posts: 25
Joined: Fri Nov 18, 2016 3:36 pm

Os: CentOS 6x
Web: apache + nginx
Display PHP error in wordpress site
  • Quote

Post by Loc_rabbirt » Thu May 25, 2017 7:37 am

Hi, I have few sites use wordpress, long time ago, I can debug it and see any errors display, but now I can't see it, they only way to see is go to vestacp dashboard and check the errorlog, how I can debug my code without go to vestacp dashboard?

Thank so much for all advices.
Top

Phogo
Posts: 60
Joined: Fri Dec 09, 2016 12:40 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: Display PHP error in wordpress site
  • Quote

Post by Phogo » Thu May 25, 2017 9:27 am

Add the following to your wp-config.php file,

Code: Select all

define( 'WP_DEBUG', true );
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “RHEL/CentOS”



  • 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
 

 

cron

Login  •  Register

I forgot my password