Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

Why can't I install php-mysql?

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


Easiest way to install LAMP on Ubuntu is using an APT task:

sudo apt-get install lamp-server^

The caret (^) is not a typo.

It will select all the relevant packages for you. For your specific case is Dennis right, you're just missing the PHP5-MySQL bindings which you were installing with the wrong package name. Anyway, the task will make sure you'll have most common packages, including this one.

Tags:

Mysql

Php

Related

Safe to remove /usr/src/linux-headers after purging older linux images? How to mount a VirtualBox shared folder at startup? How can I Resolve dpkg dependency? How to change default "sort by" to "type" in nautilus How do I save files edited with vim? Configure xfce4-screenshooter settings apt-get mass install packages from a file? How to make Shutter as the default screenshot tool? How do I install LibreOffice 4? Installation Problem MS Office 2013 using Wine How to inspect outgoing HTTP requests of a single application? Can I install `libssl-dev:i386` on x86_64 system without losing important packages?

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy