Not showing errors in Firefox

Forum for you who has PHP installation issues

Moderators: egami, macek, gesf

Post Reply
Chameleon
New php-forum User
New php-forum User
Posts: 1
Joined: Tue Apr 24, 2018 1:39 am

Tue Apr 24, 2018 1:47 am

Hello guys,
I am new in PHP and linux, so when i installed php on my new linux os I am not getting any error logs when I echo my code to //localhost/ . When I used WAMP on windows and Chrome I got the error messages like:
Warning: A non-numeric value encountered in C:\ ...\array_filter.php on line 5
But now if I do a typo or so I get just a blank screen.

How can I view this error logs?

Thank you,
Chameleon

User avatar
hyper
php-forum Fan User
php-forum Fan User
Posts: 761
Joined: Mon Feb 22, 2016 5:52 pm

Tue Apr 24, 2018 7:35 am

How can I view this error logs?
PHP info

Code: Select all

// Put this at the top your first script
error_reporting(E_ALL);
display_errors = on;
Note: Firefox or any other browser has no control over displaying errors in your PHP scripts

Post Reply