Planning to create my own development environment on my ubuntu desktop 9.10. How to install apache web server, php and it's plugins for apache and mysql database?
don't think it will work on 9.10 cuz i tried and it diddent work. If you serious of doing this than install the server edition
Open a terminal and run the following
sudo apt-get install apache2 php5 libapache2-mod-php5 mysql-server mysql-admin php5-mysql libapache2-mod-auth-mysql phpmyadmin
This will install apache2, php, apache php module and mysql for you all in one shot
Aww man, forget all that apt-crap headache. Ubuntu is Linux for human beings! All you gotta do is type sudo taskel You'll be prompted for your password, then given a list of all kinds of server configurations. Pick LAMP and hit next. It will install everything for you. Ah thank you.
Using Karmic, there's a esay way to do this: sudo apt-get install lamp-server^ That's all! Enjoy your LAMP server :-) Oh, I forgot, maybe you have to setup your DirectoryIndex parameter in your apache configuration, in order to recognize index.php
Here is a step-by-step tutorial about installing LAMP (LAMP stands for: Linux Apache MySQL PHP) in Ubuntu.
don't think it will work on 9.10 cuz i tried and it diddent work. If you serious of doing this than install the server edition
- Visitor 18 weeks 3 days ago