Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to get LAMP up and running in VirtualBox for an assignment I have. I've installed Ubuntu and then Apache 2 and PHP 5. I'm using the instructions found here: https://help.ubuntu.com/community/ApacheMySQLPHP. When I enter the command shown for installing MySQL

install mysql-server libapache2-mod-auth-mysql php5-mysql

I get this error:

target 'php5-mysql' is not a directory.

Can anyone tell me what I need to do?

Thanks!

share|improve this question

1 Answer 1

You have to use

sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql

instead of

install mysql-server libapache2-mod-auth-mysql php5-mysql

install is a different command that doesn't install software packages.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.