Saturday, April 20, 2024
 Popular · Latest · Hot · Upcoming
15
rated 0 times [  15] [ 0]  / answers: 1 / hits: 32260  / 2 Years ago, mon, july 25, 2022, 12:38:47

In Windows I use Xampp. I have tried to install MySQL from the command-line and I can access MySQL through workbench software.



Now if I try to run Wordpress on my computer, I get an error that "Your PHP installation appears to be missing the MySQL extension which is required by WordPress."



Someone help me to install MySQL extension(s) for my installation. If I try to install php-mysql:



 $ sudo apt-get  install php-mysql


then I get this error:



Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php-mysql


Please someone help me to install MySQL extension. Most of the blogposts I have seen have this trick, but it's not working for me. The Ubuntu software center shows me that both MySQL server and client are both as installed.


More From » mysql

 Answers
3

The package is called php5-mysql in Ubuntu, not php-mysql.


[#32765] Monday, July 25, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
erettor

Total Points: 303
Total Questions: 121
Total Answers: 103

Location: Colombia
Member since Mon, May 2, 2022
2 Years ago
;