php - how to fix the error 500

352

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.

952

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

People are also looking for solutions to the problem: php - Symfony formbuilder: Skip one value

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.