Installing LAMP on Ubuntu 7.10/8.04/8.10 (Linux,Apache,MySQL,PHP)

Lately I’ve been using ubuntu 7.10 for all my projects/daily work.
As a web developer i should have LAMP on my machine and now i would guide you through installing it on yours.

This guide is divided into 3 steps: installing/tesing Apache, PHP and finally MySQL.

Lets start with Apache:
1. Open the terminal (we will be using it through most of my guide) from Applications > Accessories > Terminal
2. Install apache2 using apt-get by typing the following

sudo apt-get install apache2

Note that you should know the root password.
Now everything should be downloaded and installed automatically.
To start/stop apache2 write:

sudo /etc/init.d/apache2 start
sudo /etc/init.d/apache2 stop

Your www folder should be in: /var/www/

If everything is OK you should see an ordinary HTML page when you type: http://localhost in your firefox browser

Finished with Apache ? lets conquer PHP:


1. Also in terminal write:

sudo apt-get install php5 libapache2-mod-php5

or any php version you like
2. restart apache

sudo /etc/init.d/apache2 restart

This is it for PHP :D Wanna test it ? Just create an ordinary PHP page in /var/www/ and run it.
Example:

sudo gedit /var/www/test.php

and write in it: < ?php echo “Hello World”; ?>

Now run it by typing http://localhost/test.php in firefox… You should see your ” Hello World ”

66 % is over, lets continue to installing MySQL:
1. Again and again in terminal execute:

sudo apt-get install mysql-server

2. (optional) If you are running a server you should probably bind your address by editing bind-address in /etc/mysql/my.cnf and replacing its value (127.0.0.1) by your IP address
3. set your root password (although mysql should ask you about that when installing)

mysql> SET PASSWORD FOR ‘root’@'localhost’ = PASSWORD(’xxxxxx’);

4. Try running it

mysql -uroot -pxxx

where xxx is your password.
Note: You can install PHPMyAdmin for a graphical user interface of MySQL by executing

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

5. restart apache for the last time

sudo /etc/init.d/apache2 restart

Congratulions your LAMP system is installed and running :D Happy Coding

//Jo

UPDATE:
Due to the large number of people emailing about installing/running phpmyadmin.
Do the following:

sudo apt-get install phpmyadmin

The phpmyadmin configuration file will be installed in: /etc/phpmyadmin
Now you will have to edit the apache config file by typing

sudo vi /etc/apache2/apache2.conf

and include the following line:

Include /etc/phpmyadmin/apache.conf

Restart Apache

sudo /etc/init.d/apache2 restart

Another issue was making mysql run with php5
First install these packages:

sudo apt-get install php5-mysql mysql-client

then edit php.ini and add to it this line : ” extensions=mysql.so” if it isnt already there

sudo vi /etc/php5/apache2/php.ini

Restart Apache

sudo /etc/init.d/apache2 restart

Hope this helps :)

Share and Enjoy:
  • Digg
  • description
  • Google
  • Facebook
  • del.icio.us
  • Mixx

131 Responses to “Installing LAMP on Ubuntu 7.10/8.04/8.10 (Linux,Apache,MySQL,PHP)”


  1. 1 Nik Chankov

    Why dont you use the package provided from apachefriends.org? It’s done with 3 easy steps:

    1. Download
    2. Untar/Unzip
    3. Start the script

    I am using it and I can say that for development machine it’s prefect - saves a lot of effort and everything is in one folder.

  2. 2 Lee Francis Wilhelmsen

    Using APT (apt-get) the Apache, MySQL and PHP software installations will be updated from the Ubuntu repositories when new code is available. So that means bugfixes and security patches will get made available for download automatically. The OS handles this for you. I’m not sure you get that same functionality using the ‘apachefriends version’.

    Coming from a Windows world it takes a little time to get used to the APT thinking of things, especially the fact that software is installed ‘all over the file directory structure’ and not in one particular user defined directory… I guess there are pros and cons with both.

  3. 3 Jo

    You are completely right Lee, actually thats the exact purpose of apt-get

  4. 4 Bardic

    Please please please tell me how two things…

    1) How do I stop and start apache?
    2) And do I open phpmyadmin?

    I am new to linux and could really use the help… thanks.

  5. 5 JimmyB

    Fantastic, straightforward at to the point. Just what I was looking for :-) I also tried the LAMPP package, but I prefer to let apt take care of things. Besides, its actually easier to find things with a standard install as all other product install guides refer to locations used by this type of setup.

  6. 6 Jo

    Bardic: to stop and start apache write
    sudo /etc/init.d/apache2 stop
    sudo /etc/init.d/apache2 start

    to do a restart
    sudo /etc/init.d/apache2 restart

  7. 7 qwerti

    this is perfect guide for newbies to linux, it’s written perfectly easy and understandable. I used this to install so called LAMP server on my machine and it workes perfect :)
    Big thanks to Jo :)
    (i’m sorry for any mistakes in my english)

  8. 8 Des

    Excellent guide!

    I have two additions:

    When apt-get shows the error message “couldn’t find package phpmyadmin” you need to enable the universe repositories in “/etc/apt/sources.list”.

    And MySQL did not ask me for a password, it told me:

    * Root password is blank. To change it use:
    * /etc/init.d/mysql reset-password

    To change the password using your method you first need
    to start the mysql interface using the following command:

    $ mysql -uroot

    After that you can change your password with:

    mysql> SET PASSWORD FOR ‘root’@'localhost’ = PASSWORD(’xxxxxx’);

    After that you need to specify your password using -pxxxxxx

    Thanks for your guide!

  9. 9 Jo

    Nice Des, Thank you for sharing

  10. 10 Joe Redfern

    Hey Jo,

    Thanks for writing this guide, I’s been very useful! I Tried the Apachefriends.org version - It didn’t work. Whereas this, has worked a treat! *Bookmarks Website*

    Thanks again,

    Joe

  11. 11 Bruno

    Hi Jo,

    Great tutorial thanks! It works a charm! Another cool thing you can do when testing whether PHP is properly installed is to create a phpinfo.php file with the following line in it:

    It will then give you a whole raft of details on your PHP install when you go to http://localhost/phpinfo.php and it’s also a good file to drop somewhere on your web site to check what your ISP supports.

    Bardic, to get to phpmyadmin, type http://localhost/phpmyadmin in your browser: as simple as that!

  12. 12 Bruno

    I got caught by the filtering of angle brackets and stuff so the phpinfo.php file mentioned in my previous post should contain:

    <?php phpinfo(); ?>

  13. 13 eXodus

    thanx for the mysql tip bro
    i couldn’t remember the name of the package for the love of god

  14. 14 BrianH

    I’ve been an Ubuntu user for about 36 hours. Using your article, I was able to install and test a web server, PHP, MySQL and PHPmyAdmin in under 15 minutes. I have yet to do the same in a Windows server in under 3 hours, and that is if all goes well. Incredible article and incredible OS.

  15. 15 Greg Parsons

    Everything works great until I try to install the PHP stuff. After running for 8 hours repeatedley trying to load the following:
    Get:135 http://sg.archive.ubuntu.com gutsy/main libapache2-mod-php5 5.2.3-1ubuntu6 [2542kB]
    Seems to be stuck trying to load from sg.archive.ubuntu.com ?
    I am in Singapore, is there a way I can force it to load from another repository, since Singapore seems unresponsive (I gather that is the 135th attempt to download, since he same message has been repeated constantly with the only thing changing being the number at the front.

  16. 16 Rake

    Fantastic, just what I needed, thanks Jo.

    One tiny thing I noticed. I was feeling lazy so I was just copying and pasting everything you put. When i tried testing PHP with the ‘Hello world’ example you gave, it didn’t appear to be working. I soon realised it was because there is a space after the opening bracket and before the question mark (”< ?” instead of “<?”)!!!! Simple thing but not sure if it would throw some people!

    Thanks again.

  17. 17 Fish Kungfu

    Jo… Thanks very much for the very clear steps on getting the Ubuntu LAMP turned on! Only thing I would suggest is remove the space between the “< ?” in the “”. The space will trip up php, and show the code as plain text on the web page.

    Thanks to Des too for his tip!

  18. 18 Jo

    HEHE, I dont know how that space got there :p … fixed it now

  19. 19 thinyai

    Hi, Its good tip.

    What if you want to use mssql i.e an external db. Tried to apt-get source php5 so that i can compile the mssql.so but always getting error.

  20. 20 Raval

    I too got tripped up with the test.php space, I thought something was wrong with the install.

    I did mine with synaptic packet manager but great to see the command line version, next time I will do it that way.

    Thanks for the tutorial, was helpful.

    Ubuntu 7.10

  21. 21 Duddes

    Hello guys,

    I’ve the my apache2, php, and mysql using the above tutorial. It was successfully installed but what i’ve notice is the when i run the phpinfo there’s no mysql enabled there. I’ve tried to uncomment mysql.so in the /etc/php5/apache2/php.ini but still not showing in the phpinfo. Anyone has an idea?

    Thanks.

  22. 22 Dave

    I installed phpmyadmin but do not see it anywhere, itsnot in my www folder, how do I get to it?

  23. 23 Jo
  24. 24 Dave

    Jo,
    that doesn’t work either, 404 error. There is no phpmyadmin folder in my /var/www folder, the only folder I have is a /etc/phpmyadmin folder. Should I just copy it over? Thanks for taking the time to help me.

  25. 25 saturngod

    Nice….
    But I have problem..
    I am using ubuntu 7.10 server.
    My server name is ubuntu.
    I can’t run php in my localhost
    when I run http://localhost/phpinfo.php, save dialog appear.
    But http://ubuntu/phpinfo.php, OK and run it.
    How to solve it ????

  26. 26 Jo

    saturngod
    open your http.conf and go to the line: ServerName … edit it so it becomes http://localhost/

  27. 27 saturngod

    Thank Jo…
    How To Edit it ?
    My http.conf have

    ServerName localhost

    only 1 line.

    How to change it !!!!

  28. 28 Jo

    the line should be:

    ServerName localhost:80

    Also make sure the location of ur file is the same one specified in http.conf

  29. 29 saturngod

    Thank Jo…
    I testing it…

  30. 30 saturngod

    Hi! Joe…
    Not Work :( I also do that
    $ sudo a2enmod php5

    But Not Work.. http://locahost/phpinfo.php ( save dialog apperar )
    Only work http://ubuntu/phpinfo.php

    phpinfo.php at /var/www/

  31. 31 Killersoft

    Hi i cant start my phpmyadmin when i type in my explorer http://localhost/phpmyadmin
    I see this :
    Not Found

    The requested URL /phpmyadmin was not found on this server.
    Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6.2 Server at localhost Port 80
    Please tell me what to do My phpmyadmin is not in folder var/www
    it is in usr/share/phpmyadmin
    Please need help

  32. 32 Killersoft

    Update not work please tell me what to do

  33. 33 Killersoft

    Hi again i am sorry for my post before one hour. It working now http://localhost/phpmyadmin
    When i restart my computer it working
    Thank tou Very Very much Jo!
    I am sorry for my bad english :(

  34. 34 Jo

    I m glad it did :) I think you forgot to restart Apache the first time

  35. 35 Daniel

    Hi there, thank you very much for this tutorial, it’s very helpful and has allowed me to successfully get LAMP set-up on my Ubuntu 7.10 desktop.

    The problem I have now is that I’m unable to make any changes to the /var/www directory, i.e. I’m unable to add/edit any files in there. I think I know what the problem is, the directory has permissions set to it for root, but as I’m logged in as my user, it’s not letting me do anything.

    Now I’m sure that I can use the terminal command sudo gedit to create and edit files in that directory, but this isn’t really solving my problem, firstly because I want to be able to access the files via the file manager, but also because I’m sure it’s not designed so you have to log into the superuser every time you want to do something like this.

    This also would not solve the problem of remote access, i.e. either using FTP or windows explorer (via the network) to access the directory. I’m more interested in allowing specific users (such as myself, and my user on my windows machine) to access this folder.

    As a result, I think a nice addition to this tutorial would be information on how to do this… Thank you.

  36. 36 Jo

    Hi Daniel

    Try doing ‘ sudo chown OWNER DESTINATION ‘
    this will change the owner of all files inside the DESTINATION folder.
    if you set OWNER = www . then everyone can access the file.

    check ‘ man chown ‘ for more details

    Jo

  37. 37 Daniel

    Hi, thank you for your reply.. I tried running ’sudo chown www /var/www’, but it just told me there was no user http://www.

    I’ve got it working locally now by using ’sudo chown daniel /var/www’, which is a step in the correct direction, but as I said before, I’d be very keen on making that directory a shared directory so I can access it via the network from my windows machine.

    Thank you

  38. 38 clarkePeters

    Great job!
    I’d only change one thing.
    You could test for a valid installation with the following script:

    Not only does this test the installation, it shows all of PHP’s configuration information.

    Since this message is so far down the page, I hope you’ll add this to your tutorial.

  39. 39 clarkePeters

    that script is

    &lt ?php phpInfo(); &gt

  40. 40 RyanT

    Well done, ive been looking for ages for a way to install LAMP and this is the first guide i have found that got strait to the point, Thanks

  41. 41 alin nemet

    hello world
    i have installed Ubuntu 7.10 from a dvd which apparently doesn’t have the next packages : apache,mysql ,php,phpmyadmin,java and maybe other stuff which a developer might be interested in…
    how the hell is that possible and what solution do you suggest,if any ?
    Thx.

  42. 42 Ian

    An excellent tutorial - many thanks for that.

    Two very minor points.

    1) Where you say edit php.ini and add to it this line : ” extensions=mysql.so” if it isnt already there

    The word extension should be singular. The line should be
    extension=mysql.so

    2) The apt-get install of phpmyadmin created a link from /etc/apache2/conf.d/phpmyadmin.conf to /etc/phpmyadmin.apache.conf, so adding the line to /etc/apache2/apache.conf is unnecessary. Included twice the file triggered a warning from Apache. The alias was hidden by an earlier alias or similar. You either need the link or the line in /etc/apache2/apache.conf, not both.

  43. 43 Dan

    Hi,

    Very nice tutorial!

    One minor issue though is that phpmyadmin installs to /usr/share/phpmyadmin (at least on my computer). That is probably why some of you get a “site not found error” when trying localhost/phpmyadmin. And that is because the phpmyadmin files is simply not in the /var/www directory. I solved the problem by creating a link:
    cd /var/www
    ln -s /usr/share/phpmyadmin phpmyadmin

    and now it works fine…
    /Dan

  44. 44 Xhaar

    Hi how i can change the ip of the apache so i dont get tha message? apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName

  45. 45 That Guy

    Just wondering….is MySQL necessary for LAMP?
    Thanks

  46. 46 Shudogg

    Be sure if you just installed Ubuntu and just did all the new updates, you need to restart before the apt packs will install. You will get an error saying that the file can’t be found. So…

    1) install ubuntu
    2) do all updates
    3) restart
    4) install LAMP using above methods

    works ;)

  47. 47 Ostap

    well i installed ubuntu server LAMP, when i start it takes me to GRUB, how do i accualy get on ubuntu.

  48. 48 drarncruz

    I can not access phpmyadmin from the localhost/phpmyadmin in my browser. I tried to reload phpmyadmin then placed this command in the terminal prompt like suggested:
    sudo vi /etc/apache2/apache2.conf

    After that I’m supposed to put this phrase:
    Include /etc/phpmyadmin/apache.conf

    How do I do this and will this fix the problem of accessing phpmyadmin.

    Thanks for your help

  49. 49 miskas

    Thanks,very nice tutorial!

    I just wanted to ask, what should I install or configure to run python scripts?

    Thanks again.

  50. 50 That Guy

    Thanks alot for this tutorial. If you run a home network, I dare you to check this out http://aflog.org/misc.php

  51. 51 Bas Slagter

    Nice tutorial…great help while setting up a LAMP server for the first time!

  52. 52 wahju

    thanks !! First time I can install LAMP on my Gutsy…. thanks again. It’s nice tutorial

  53. 53 Arun Srinivasan

    First time trying to install LAMP….. worked previously with WAMP

    Great Tutorial!!!!!!

  54. 54 sweetgal

    hi jo.,
    i have installed lamp successfuly as u said,,, and iv tried working out all siple php programs and they do work… but the problem is when im working on a program that links php to mysql it shows an error which says “undefined call to mysql_connect on line watever it appeared…
    i would be very thankful if u cud tell me something about this..
    Thanks..

  55. 55 seb|kaz

    G’day ;) I’ve just installed Apache on my private web server (for testing sites) and when it runs non-scripted files (.html and the like) it’ll display them.

    Though, when I try to run a PHP file it comes up with a dialog box asking me to download a .phtml file.

    What do I need to do to configure it properly?

    Cheers,
    Seb.

  56. 56 Steven

    sudo tasksel install lamp-server

    Works perfectly

  57. 57 Robert

    Also -

    ** Webmin is useful as is phpinfo()
    ** You can also install the Ubuntu LAMP via

    SYS->ADMIN->SYNAPTIC->EDIT->MARK PACKAGES BY TASK->LAMP SERVER

  58. 58 sam

    well
    the php installation part…
    it doesnt run the php itself instead it just displays the code ;/
    how to fix that?

    thx

  59. 59 Ubuntu Novice

    Thanks Joe, you really made the process a heck of a lot easier for me. I wish everyone’s tutorials were so straight to the point and easy to follow.

  60. 60 Ubuntu Novice

    ..oh.. and if anyone is trying to get rails up..
    here a walk-through

  61. 61 Jai Pandya

    hey sam,

    “Example:
    sudo gedit /var/www/test.php

    and write in it: ”

    dont give a space between ‘<’ and ‘?’
    the structure

    tells that there is some php code in between.
    so the correct code to test would be –

  62. 62 Scott

    Hey Joe,
    Thanks for the tutorial. I too am new to the linux world. I need help and wanted to know if you have installed and used PHPmailer? If so any help you can give would be greatly appreciated.

    Scott

  63. 63 Lobo tuerto

    Hi there, thank you for your useful guide.

    I took the liberty to make a spanish translation of it and add a little extra bit to it, at:
    http://lobotuerto.com/blog/2008/04/30/como-instalar-lamp-en-ubuntu-804/

  64. 64 martins

    Useless guide. Lamp from ubuntu repositories has default configurations that are only usefull if you intend to play a litle, otherwise you better install from source so that it gets configured as you want.

  65. 65 Killersoft

    Hi
    I am using ubuntu 8.04 and This lesson not work propertly for ubuntu 8.04
    Can you tell me how to setup my LAMP server on ubuntu 8.04
    I will be very happy becose i am a new in unix OS
    Thanx & Sorry for the bad english

  66. 66 yvan

    great tutorial, making setting up real monkey work

  67. 67 the other guy

    Hi great tutorial.

    Just 1 Q, will this work for Ubuntu 8.04 aswell?

  68. 68 Jo

    Hey,

    yes it will work on ubuntu 8.10 as well

    // Jo

  69. 69 Nishars

    Worked Perfectly for Ubuntu Hardy,

    Awesome Guide,
    Thanks,

  70. 70 megat

    Excellent tutor Jo!

    Thanks for the sharing. In several minutes i already have my local server environment, great!

    just one attempt and i can use it now.

  71. 71 A R Mohamed Ismail

    hi every body i am new to linux i lamp in my ubuntu linux 8.04 .i successfully installed it the only problem is when i disconnect the internet phpmyadmin and php is not working it showing an error page but apache is running i want to run phpmyadmin and php when i disconnect the internet could any one tell the solution for this problem

  72. 72 Jeremy

    About getting the 404 not found error, Dans suggestion on using the symbolic link worked for me. Thanks!

  73. 73 JoeM

    Steve posted the command

    sudo tasksel install lamp-server

    a ways back. Have a look at these;

    https://help.ubuntu.com/community/ApacheMySQLPHP
    https://help.ubuntu.com/community/Tasksel

    Makes life even easier.

  74. 74 Luis

    Hi JO,

    Please can you help me….? I’m begining my firsths steps with Ubuntu and the first time I installed lamp on Ubuntu 8.0 in a new HD I followed your instruction I didn´t have problems.
    for reason that i don´t know the O.S. begun to freeze. I reinstalled Ubuntu but when I want to install lamp, it show me a message it doesn´t find the package….!
    What shuold i do…..?

    thanks

    LY

  75. 75 Rick Pizzi

    A big THANK YOU.

    It all worked right the first time.

    RP

  76. 76 jdk137

    Thank you very much!

  77. 77 kromos

    well first of all congratulations for this super tutorial

    i have some questions please if someone can help i will appreciate it >>

    my questions are where the passwords were stored from phpmyadmin and what i can do whit it (phpmyadmin) ?
    what’s the difference b/ween phpmyadmin and php5 or why we install phpmyadmin?

    thanks
    :)

  78. 78 Jo

    Hi Kromo,

    phpmyadmin is used as a web interface for mysql and not a php language.
    So basically phpmyadmin and php5 are 2 different things

    // Jo

  79. 79 Daniel P

    Hi all,
    this is a very useful article, particularly for a person who is not familiar with Linux (Ubuntu), I’m having a small problem setting the password for mySQL, I’m getting the following when I set the password:
    set password for ‘root’@'localhost’ = password(’xxxxxx’);

    ERROR 1044 (42000): Access denied for user ”@’localhost’ to database ‘mysql’

    What am I doing wrong.

  80. 80 kromo

    hi daniel p

    have you try this?

    mysql -uroot -pxxx

    where pxxx = your password

  81. 81 KenV

    Thanks for the great tutorial. Everything worked perfectly ;)

  82. 82 loz

    Great tutorial.

    Thanks for publishing this!

  83. 83 LIMI-IT

    This is really good tutorial thought I would have used:

    sudo /etc/init.d/apache2 force-reload

    To complete the phpmyadmin installation.

  84. 84 alexisrlm

    Hi Jo, all works perfectly in my xubuntu 7.10.

    Thanks a lot.

    alexisrlm

  85. 85 Kai

    Just found your great tutorial. Thanks so much for the original write-up and updates! I got everything running on Ubuntu Hardy in about 20 minutes (about 10 times faster then my last MAMP install on a WinxP box).

    The only thing I think you overlooked that may solve some peoples issues is to tell php where you php pages will be loaded from. To do this find the line in the php.ini file that says: doc_root = and add: /usr/var/www/ (or whatever your path to web root is).

    i.e: doc_root = /usr/var/www/

  86. 86 Aurelio Pita

    i just wanna thanks for this tuturial.

  87. 87 senthilmurugan

    Thanks for install guide … it is working very fine….

  88. 88 Jatin Meshiya

    Hey Jo,
    Thanks a lot for giving this point to point Guide to install lamp. we are also looking for more tutorial and guide from expert guys like you.
    We are heartily appreciate your efforts, Gr8, Rock on!

  89. 89 Adhan

    really good as one new to linux
    thanks a lot !

  90. 90 santosh

    great article you made it damn easy

  91. 91 Maki

    Thank you so much for this useful information. It was really helpful in setting up an environment for me to test my PHP codes in.

  92. 92 itai-michaelson

    thank you for an excellent guide

    however i couldn’t get firefox to display your hello world php5 file
    i needed to change the syntax to this:

  93. 93 leo

    i successfully installed apache php and mysql on my ubuntu 8.10. But i have a problem saving my php file on var/www folder. I know that this is regarding user permission problem but how can i solve this?..
    Is there an easy way to save my php file so i can test it any time i want

  94. 94 Paul

    Thank you, very useful.

  95. 95 Greg

    JO:

    New to Linux, just escaped from XP :) This tutorial is fantastic! Took me 10 mins with copy and paste and everything worked perfectly!

    Thanks!

    For newbies who have asked (and doesn’t seem to be answered, although is a huge list of replies and I may have missed it)
    /var/www
    is where you copy and edit your files
    http://127.0.0.1
    is the default location in your browser to access the files in /var/www

    http://127.0.0.1/phpmyadmin in the browser
    loads a familiar sight that you are looking for :)

    LEO: You can change permissions on the folder, but a better option is to change the owner of the folder to yourself
    sudo chown -R YOURUSERNAME:users /var/www

    Then copying, deleting and editing from a HTML editor will work fine as you own the folder

  96. 96 Leo

    hey thanks a lot.. actually i have already an idea about changing the permission and i search it already on the net, its just that all of their sugestion or their command on the terminal like so the chown command is not working…many thanks for that…now i can practise my programming abilities again because my boss told me to transfer from tech to programmer…

  97. 97 Leo

    hey thanks a lot.. actually i have already an idea about changing the permission and i search it already on the net, its just that all of their sugestion or their command on the terminal like so the chown command is not working…many thanks for that…now i can practise my programming abilities again because my boss told me to transfer from tech to programmer…

  98. 98 Linda

    Excellent!

    Followed the instructions with Ubuntu 8.10 with 2.6.27-7 kernel.

    The mysql install now will prompt you for the password for root.

  99. 99 cxian

    Thanks for the nice guide mate. It really helps me.

    I’m doing web dev at almost 3 years now in Win environment. I like to take things deeper (sometimes it not always good being spoon fed if in Windows) by getting it at Linux.

    More power to open source!

  100. 100 Jhon F. Ortiz O.

    Hi! I like this guide… It’s complete and comprensive. At this moment installing on LinuxMint without problems… Thanks for the information! Bye.

  101. 101 Ruben

    Thanks it works.

  102. 102 eddy

    Hello,

    thanks for your tutorial, like this much better then using tasksel.

    Although I missed
    $ sudo apt-get install php5-cli

    (You will get this error message when you try to compile a php file without it)

  103. 103 rakesh

    Simply awesome write-up. I was looking for such a brief, straight tutorial for LAMP configuration. You did a great work Jo !!!

    Thanks a lot :)

  104. 104