I'm currently hosting an apache24 server on my windows 10 pc. I'm developing a website using php however when I started using php and began to test instead of receiving php or mysql errors I just receive an internal 500 error. I'm using the latest version of php, apache and phpmyadmin.
I've read about something to do with .htaccess but I can't find it anywhere in my server files.
Without this being fixed I cannot continue development :(
I'm not sure what to show in order for help, but please do ask.
UPDATE
After adding error_reporting(E_ALL); ini_set('display_errors', 1); to my code I now get this
Fatal error: Uncaught PDOException: could not find driver in C:\Apache24\htdocs\create.php:24 Stack trace: #0 C:\Apache24\htdocs\create.php(24): PDO->__construct('mysql:host=loca...', 'root', '0612733771Aa') #1 {main} thrown in C:\Apache24\htdocs\create.php on line 24
error_reporting(E_ALL); ini_set('display_errors', 1);at the top of your code, or set them in the php.ini of the development server. - Michael Berkowski