php - how to fix the error 500
I installed Apache, PHP and MySQL in Windows 10 and edit config file also. I made change all things which are required like Directory root and add php module and ChangeAllowOverride
and also enable itsLoadModule
and also enable extensions inphp.ini
file.
I keep my "apache" and "php" folder underC:/intel
. All the installation is correct and also working nice (php files are running well) but when I run php file which contains mysqli function browser shows error:
failed to load resources Internal server Error 500
How to fix it.Where am I doing wrong?
Note: I put "apache" and "php" folder underC:/
its working nice all php files run which contain MySQL function also.
Answer
Solution:
I'll advice you install the XAMPP package which comprises of Apache, MySQL/MariaDB, PHP, Perl. The installation is easy. It will save you all the stress and headache. See here xampp