Studiosoft Posted May 7, 2023 Share Posted May 7, 2023 I have set up an Apache server on a Zorin distro and I have HTML and php working in the browser and MySQL working from the command line. When I install phpmyadmin, it appears to run but only displays a blank screen. I have turned on error reporting in the php.ini files mentioned in phpinfo() but no errors are reported. To test the error reporting I created a PHP script containing a deliberate error and that error isn't reported either. Are there other directives I should be setting to enable error reporting to both console and a file? Can anyone suggest what may be wrong or steps I can take to discover the reason for my issues? Quote Link to comment https://forums.phpfreaks.com/topic/316264-error-reporting/ Share on other sites More sharing options...
Barand Posted May 7, 2023 Share Posted May 7, 2023 Perhaps errors are being logged instead of displayed. Check error logs. Quote Link to comment https://forums.phpfreaks.com/topic/316264-error-reporting/#findComment-1608154 Share on other sites More sharing options...
mac_gyver Posted May 7, 2023 Share Posted May 7, 2023 1 hour ago, Studiosoft said: I have turned on error reporting exactly what settings and what values did you set them to? you should set error_reporting = E_ALL (this value is case-sensitive) and set display_errors = On (this value is not case-sensitive) and these lines should not be commented out. did you stop and start your web server to insure that any changes to the php.ini took affect? what does the phpinfo() output show for these settings after you have attempted to set them and restarted the web server? Quote Link to comment https://forums.phpfreaks.com/topic/316264-error-reporting/#findComment-1608156 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.