- Create a new text document.
- Add the following lines to the file:
Code: Select all
php_value error_reporting 7 php_flag display_errors On - Save the file as ".htaccess".
- Using your preferred FTP client, connect to your server's FTP using the credentials listed on the "File Manager" tab in your control panel.
- If you aren't sure how to connect, we have a guide for FileZilla posted here: viewtopic.php?t=8044
- Upload the file to your website's public folder, overwriting any existing .htaccess file. If an existing .htaccess file is present, make a backup copy before overwriting it.
How can I see the errors in my PHP script?
- Vanderburg
- Former staff

- Posts: 1253
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Sat Nov 13, 2010 7:27 am
- Location: Dallas, TX
How can I see the errors in my PHP script?
display_errors is disabled by default in our php.ini file, but it can be enabled for your server using a .htaccess file.