Why can’t I install php-mysql?

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

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.

X ITM Cloud News

Marisa

Leave a Reply

Next Post

How to install Ubuntu using a smart phone as the installation media?

Sun Sep 13 , 2020
Spread the love          A virus has corrupted my desktop’s hard drive. How can I remove the remnants of Windows and install Ubuntu on it? I have only a working mobile phone and one 4GB USB drive. The 4GB drive has vacation photos on it. I have no friends to borrow things […]
X- ITM

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware

.

X ITM