Comments on Installing Apache2 With PHP5 And MySQL Support On Ubuntu 10.10 (LAMP)

Installing Apache2 With PHP5 And MySQL Support On Ubuntu 10.10 (LAMP) LAMP is short for Linux, Apache, MySQL, PHP. This tutorial shows how you can install an Apache2 webserver on an Ubuntu 10.10 server with PHP5 support (mod_php) and MySQL support.

40 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: nganjukonline

could these all applications running automatically when i turn on my ubuntu ??

By: Agung

How to install joomla on ubuntu server 9.10 everyone can tell me step by step how to install it, thank's

By: William

Hi,

 Thank you very much, it helped me a lot ;)

 

Best Regards

By: Dante Lopez

Great tutorial you have there.

 I did follow your tutorial, but it seems that whenever I run "http://localhost/phpmyadmin" on my browser, it's now working. The installation went fine, do you have any idea how can I fix this?

Huge thanks. 

By: Knightlie

You may need to add an Alias and <Directory> section to /etc/apache2/sites-enabled/000-default to get phpmyadmin working, that's what I did.

 This is a great tutorial, worked first time, thanks.

By: suman

see this. It worked fine for me

http://ubuntuforums.org/archive/index.php/t-1601999.html

By: palhmbs

I have created a basic control panel to help non-commandline users to easily access their LAMP settings -- See the details here.... 

http://github/paulhomebus/Lamp-Control-Panel

By: Anonymous

sudo apt-get install lamp-server^

By: Anonymous

Great tutorial. I'm a newbie to Linux and am trying to get rid of my windows servers. This is a great first step for to learning. Worked the first time. Thank you.

By: webonzio

This is a very nice tutorial and it works great for me but some things are missing.

 if phpmyadmin doesn't work. use

 sudo ln -s /usr/share/phpmyadmin /var/www/

 and if you can access to the /var/www to copy info.php use:

 cd /var

sudo chmod 777 www

 that's all. Thank it really helps me.

 and sorry for me english. is not my native language.

 

 

By: Peltanus

Thanks for this tip, I couldn't find a solution for this problem

By:

sudo chmod 777 www is very unsecured. Basically you will be giving out permissions to the entire universe.  Try a different command.

 chmod 777 defined as: 

chmod 777 file change the permissions of the file file to read, write, and execute for all.

 *notice  write, and execute for all are in bold.

By: Anonymous

 This should do the trick:

sudo chown -R username /var/www
sudo chmod -R 755 /var/www

 Replace username to the username you'd like to give permission to. To add multiple users to chown:

sudo chown -R username1:username2:username3 /var/www

 

By: Anonymous

can i use this guide on desktop edition?

By: Anonymous

 Great article. Many Thanks

By: kusnan hadinata

thank you for the tutorial. that's all very usefull

By: Guidobert

very well boys ........on Ubuntu 10.10 I do it all using just "synaptic", instaling mysql-server, apache2, php5, php5-mysql, phpmyadmin ..... thanks a lot ....

By: Anonymous

Thanks for a great tutorial i have used this as a lazy way to install a development server for some time now.

 There is however one thing i feel it could use and that is to add ruby/ror and to state how to make it purely a dev server.

By: ifeelcash

Easy just work in me VPS !

I used in me VPS ubuntu 10.10 in installation not checked any from that server packgates !

Me normal user of ubuntu not noob not expert but that easy maked in 5 minits ! 

By: Gurpreet

Great document... well done.

By: Deepak More

i am deepak more from india 

the documentaion ais step by step and i have used as per instructed it work fine

thanks you

By: Anonymous

http://127.0.0.100/ to view the placeholder page if at first you don't succeed.

By: Anonymous

It is http://127.0.0.1 not 127.0.0.100

By: Ferey

first, i say if that is good tutorial, i've done it and it works.

so, i have trouble on phpmyadmin, and i tried to resolve it from some sources, and i done everything but don't works.

the trouble is in the bottom of phpmyadmin...

it says :

"The additional features for working with linked tables have been deactivated. To find out why click here."

so, how can i fix it. 

Sorry if my english so bad, because i'm from indonesia.

Thanks for the nice tutorial....

By: Steph

Thank you.  That was a superb tutorial.  Very clear and concise.  Got my LAMP up and running perfectly.

By: Dennis

Very good tutorial. I've got the whole thing working on Ubuntu 10.10. Thanks

By: Russ

Thanks for the help!  I have been trying to connect a PSP script to a MySQL SB on my new server and thanks to this tutorial realized I didn't have the most up to date php5-mysql installed on my system!  

 Thanks again!

By: Marcelly

Hello Falko!


Thank you so much for this tutorial!

It helped me a lot!

Great Work!

By: rahul chaubisa

This tutorial help me a lot in installation

By: Danyel Lawson

Not to be a pest but LAMP has a more expansive meaning than just Linux Apache MySQL PHP. In fact the P in LAMP originally only stood for Perl and Python back in the CGI and mod_perl and mod_python as the superior Internet scripting solutions days. It can be a little weird to hear people say LAMP and know that they are only talking about PHP. The L can stand for almost any posix operating system like Linux SunOS FreeBSD OSX etc The A can stand for Apache Nginx Lighttpd etc The M can stand for MySQL PostgreSQL etc The P can stand for Perl PHP Python etc Sometimes the definition is extended even further with the WAMP one click installs.

By: XepC

Thank you for this huge explanation (Ctrl+D). :-)

Anyway I have to type http://localhost/info.php instead of http://192.168.0.100/info.php (cause 192... it just doesn't work).

By: Alex

"In this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100. These settings might differ for you, so you have to replace them where appropriate."

Probably, you have different IP. run ifconfig and look somewhere eth0.

By: Talat

Very good guide, I followed step by step every think worked well.

Now I'll be looking for installation Joomla

By: Kalin Mandaliev

Bravo !!! Very Nice Falko :)

By: Robert Craig

Thank you very much.

This worked wonderfully.  I only bumped into 1 error where I could not pull up phpmyadmin on Ubuntu Server 11.10.  I ran the following command to properly pull up the page:

sudo ln -s /usr/share/phpmyadmin /var/www

By: Anonymous

that fixed mine too thx :O

By: Anonymous

Thank you much, very easy to do, runs great!

By: Makarand

Hello, I have setup the ubuntu server, and the server Ip shows the default webpage.

 http://103.6.220.135/

I have pointed a sub domain to this IP address, but it is not showing the webpage.

 http://cube.luxoom.cn/

 What would be the issue?

By: Anonymous

tnx tnx tnx very very tnx tnx tnxtnx tnx tnxtnx tnx tnx its best & very good article tnx

By: Anonymous

Thank you! Very helpful