Hi, I am a nontechnical person, and I need help in removing an internal server error 500 IIS, which I am facing while loading my PHP file. Please help me with a simple solution that I can implement easily.
How to resolve Internal server error 500 IIS
Hi. I can tell you some simple ways to solve this issue (Internal server error 500 IIS).
Follow these steps:
- In order to verify PHP handler settings : Start > WIN-JB2V8VOVU7U > Handler Mappings > PHP 7.1 > Copy the path given under “Executable (optional)”
- Now go to “Run” from the start menu.
- Type “cmd”. Click enter
- Terminal will open
- If this appears: “C:\Users\Adminitrator>”. Then type “cd\”.
- Type “cls”. Click “enter”
- Type -> cd “Program Files \ php 7.1”
The typed up text just above should be in quotes.
- Type “php –m”
- If it shows that the VC++ is missing in the server, then go to google and type “VC 14 download.”
- Click on the Microsoft.com link that shows your Windows version for Redistribution Visual Studio update 3 RC
- Click on download.
- Select the file “vc_redist.x86.exe” as per your system’s bit version. Click “next.”
- Popup opens. Click on “Save As.” Save on desktop.
- Open the saved software’s icon from the desktop. Click on install.
- Now the “Visual C++” will be installed.
- And now, if you type I terminal “php –m” it will run without error. And your PHP file will also run without any error.
I hope this helps you.