Linked Questions
949 questions linked to/from How do I get PHP errors to display?
474
votes
6
answers
1.5m
views
Showing all errors and warnings [duplicate]
UPDATE 2:
I have now removed the following from the .php file:
<?php error_reporting( E_ALL ); ?>
I have set display_erros in php.ini as follows:
display_errors = On
Error reporting is set ...
89
votes
6
answers
509k
views
500 Internal Server Error for php file not for html [duplicate]
My site having 4-5 static pages only. index.html & index.php both are there. index.html is working fine. If I change to index.php, it's giving 500 Internal Server Error. I don't know where is my ...
47
votes
7
answers
189k
views
php hide ALL errors [duplicate]
what are the best practises for hiding all php errors? As I don't want ERRORS to show to the user.
I've tried using the .htacess by putting the code php_flag display_errors off in there, but it ...
40
votes
5
answers
67k
views
PHP does not display error messages [duplicate]
I installed XAMPP 1.7.4 (with PHP 5.3.5), the problem is PHP does not display any error messages. E.g. if I connect to MYSQL with mysql_connect() without parameters, PHP will not complain about the ...
27
votes
8
answers
81k
views
PHP FPM returns HTTP 500 for all PHP errors [duplicate]
I am running nginx with PHP-FPM. My nginx configuration for handling php files looks like this:
location ~ \.php$ {
set $php_root /home/me/www;
fastcgi_pass 127.0.0.1:9000;
...
20
votes
4
answers
48k
views
PHP not displaying errors - Internal Server Error (500) [duplicate]
I've set up a fresh install of Ubuntu Server 12.04 LTS on Amazon AWS with *Apache2/MySQL/PHP5. When I run a PHP script and it encounters an error I don't see any error reporting from PHP, all I see is
...
10
votes
2
answers
20k
views
phpMyAdmin Error in processing request Error code: 500 Error text: Internal Server Error [duplicate]
When i'm running phpMyAdmin and click to Export/Import I always get an error:
Error in processing request Error code: 500 Error text: Internal Server Error.
OS - Ubuntu 18.04
15
votes
3
answers
19k
views
500 (Internal Server Error) with Laravel & Docker [duplicate]
I create Laravel PHP application in Docker. First I setup Laravel app using
laravel new laravelDockerApp
it creates successfully.I verify it's setup by built-in server
php artisan serve
Then setup ...
1
vote
6
answers
14k
views
When I uncomment a line of code I get [500] internal server error? [duplicate]
I cannot figure out what could be causing this error. My Apache log is not recording any errors in the access log or error log regarding the page, yet somehow whenever I uncomment the header() line I ...
2
votes
2
answers
5k
views
PHP Scripts not showing any error on Localhost? [duplicate]
I am wondering why my http://localhost/ server is not displaying any error?
I am throwing errors like "require(abc.php);" which doesn't exists,
Tried throwing every error, but either screen goes ...
0
votes
4
answers
12k
views
The rename function in PHP is not working [duplicate]
I want to move a file from one directory to another directory using PHP rename() function. But the function is not working. every time it display Not done. Your suggestions please.
Here is my code
&...
1
vote
3
answers
2k
views
How to find error in php [duplicate]
I'm beginner for php and I'm coding on Notepad_++. an error creating in my programming while updating/editing any row from the table. When I changed something from the row and click on submit button ...
11
votes
1
answer
505
views
php mysqli_query results nothing [duplicate]
I am trying to fetch data from a table using mysqli_query.
When i use the following commands it works ok:
$hostname = "********";
$username = "*******";
$password = "********";
$databaseName = "******...
3
votes
1
answer
2k
views
PHP - call to member function on null [duplicate]
I have the following three classes:
class Dom_Form_Section extends Dom {
/* ... code ommited ... */
public function addElem($Elem) {
if (is_a($Elem, 'Dom_Form_Elem')) $FormElem=$Elem;
...
-1
votes
1
answer
5k
views
Connect to mysql with php using xampp server [duplicate]
This is the registration form, I want its data to be stored in MySQL database
It prints else part always i.e. failed to submit
My Php file below: I made a simple registration form. I want its data to ...