Click here to Skip to main content
15,881,791 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hello Guys am working on php project on localhost but when i open localhost:80/script so am getting this error
Your PHP installation appears to be missing the "MySQL" extension which is required by Sngine.

Back to your server admin or hosting provider to enable it for you

i am confused how can i solve this error i am using 7.0 php version guys please help me
how can i solve it

What I have tried:

Your PHP installation appears to be missing the "MySQL" extension which is required by Sngine.

Back to your server admin or hosting provider to enable it for you
Posted
Updated 6-Feb-18 21:17pm
Comments
Shashank Laxman 7-Feb-18 3:07am    
Check if your server is missing mysql.dll,if yes add that dll and make changes in php.conf and restart server

1 solution

The error message is quite clear: You have to install the MySQL extension.

See PHP: Installation - Manual[^].

But note the comment on top of that page that the MySQL extension is deprecated. If possible you should use one of the new extensions.

If MySQL is installed and you still got the error, check the extension_dir setting your php.ini file. That should be commented (use default directory) or contain a valid path to your PHP extensions (depends on the operating system of your server).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900