• Tom

    (@chapteradmin)


    Site health shows PHP needs update & anyone can see errors.
    How can these setting be changed?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • It is a discourse related to your hosting company, if htaccess, ini_set, php.ini, user.ini is not blocked you can hide the errors from all otherwise you must ask your hosting how to enable php errors and disable the errors on the screen.
    WordPress code.

    // wp-config.php Before require_once
    define('WP_DEBUG_DISPLAY', false);
    //or ini_set or php.ini or user.ini 

    Hi,

    My website is not working. This is what it says: Your PHP installation appears to be missing the MySQL extension which is required by WordPress.

    The website that I need help with is: Your PHP installation appears to be missing the MySQL extension which is required by WordPress. The website I need help with is: https://danielpinillamusic.com/

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to update PHP & only show errors to admin’ is closed to new replies.