Linked Questions

2051 votes
27 answers
3.9m views

I have checked my PHP ini file (php.ini) and display_errors is set and also error reporting is E_ALL. I have restarted my Apache webserver. I have even put these lines at the top of my script, and it ...
Abs's user avatar
  • 58.2k
12 votes
12 answers
2k views

I have an HTML file that contains many many JUST "li" tags no head and body tag and any thing else. I want to count them using PHP. how can I do this? However, I tried this: $dom = new DOMDocument();...
amdev's user avatar
  • 7,820
10 votes
2 answers
20k views

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
Ovruchsky's user avatar
  • 103
3 votes
2 answers
9k views

As I am developing my project using docker, with an image that has nginx installed, if any error happens, I will only see this: 502 Bad Gateway nginx/1.4.6 (Ubuntu) Currently, the only way to see ...
simo's user avatar
  • 24.7k
2 votes
2 answers
5k views

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 ...
Thompson's user avatar
  • 2,010
3 votes
3 answers
7k views

So I've been trying to learn laravel, but I've run into trouble pretty quickly and can't seem to find an answer to my problem. My routes.php file looks like <?php Route::get('/', '...
Pastramifest's user avatar
2 votes
2 answers
4k views

I am trying to host my wordpress project in centos remotely, i have hosted it on /var/www/html and gave permission 777 for all sub folders and files, and changes and in .httpd file i have changed to ...
Pattatharasu Nataraj's user avatar
1 vote
1 answer
2k views

I have written a function that is in the file insert.php and looks like this: <?php function makeInsert($query, $paramArray){ include 'db.php'; try { $pdo = new PDO("mysql:host=...
Fabian's user avatar
  • 571
0 votes
1 answer
3k views

I am using Windows 7 with IIS 7. I am trying to get started with PHP. I have performed the following: Installed PHP using the web platform installer Verified that PHP is installed by using 'Check ...
MrHopko's user avatar
  • 891
0 votes
1 answer
2k views

I already know that this is a server error and I am unable to figure out why this is happening. File structure: project_manager >ajax >register.php >classes >...
Lewis Blundell's user avatar
0 votes
1 answer
3k views

main.php requires 2 files: require './functions/fileA.php'; require './functions/fileB.php'; fileA.pgp as a function function doecho($url){echo $url} In fileB.php, I have a function that calls the ...
Dinis's user avatar
  • 11
0 votes
1 answer
648 views

I have this PHP file stored i a server. It creates a new user for the DB. The registration is success but the response message is always NULL. Here is my register.php file where i post the values &...
Kzaf's user avatar
  • 593
0 votes
2 answers
1k views

The echo statement is not printing when the answer does not equal to 8.So if the answer is other than 8 it should print in red "Please try again " underneath the textbox.All it shows is nothing when I ...
Majed Mahmood's user avatar
0 votes
3 answers
2k views

I'm new to Yii2 and Web-Application-Programming at all. But I have to face the challange so I hope for little help here... At the moment I'm working on an report-module where the user can base-...
Chris vD's user avatar
1 vote
3 answers
852 views

I have a view-script which opens a pdf-file, it looks like follows: <?php $this->title = 'arbeitskalender'; //ini_set('display_errors',1); header('Content-Type:application/pdf'); header('...
pia-sophie's user avatar

15 30 50 per page
1
2 3 4 5
9