LAMP server
-
- Posts: 14
- Joined: Fri Nov 11, 2011 12:32 pm
- Location: India
LAMP server
I am using ubuntu 10.04LTS version , i love ubuntu and now i am doing my college project in PHP and MySql. Can you tell me how to install LAMP server or something else to use PHP ? and tell me how to use it in a nice way ?
-
- Posts: 534
- Joined: Thu May 05, 2011 8:19 pm
Re: LAMP server
Well.. Are you using Linux? Windows or mac?
LAMP = Linux, Apache, MySQL and PHP
you are most likely using Windows, so go for XAMPP or WAMP (There are others, like. AppServ)
If mac, then MAMP
Decide which one you need / want, Then Google it. It will take you to a download page for that specific one.
Eg XAMPP takes you to http://www.apachefriends.org/en/xampp.html
So, go and find the version you want.
Eg. http://www.apachefriends.org/en/xampp-windows.html
Then download, run installation window and you have it installed.
From there, i think your files go in C:/username/htdocs or www im not sure, sicne i use MAMP, and mine is in htdocs.
But you will find it somewhere on your HDD, then you should be setup. Go to http://localhost/ and you should get a page display.
There you have your local server setup
LAMP = Linux, Apache, MySQL and PHP
you are most likely using Windows, so go for XAMPP or WAMP (There are others, like. AppServ)
If mac, then MAMP
Decide which one you need / want, Then Google it. It will take you to a download page for that specific one.
Eg XAMPP takes you to http://www.apachefriends.org/en/xampp.html
So, go and find the version you want.
Eg. http://www.apachefriends.org/en/xampp-windows.html
Then download, run installation window and you have it installed.
From there, i think your files go in C:/username/htdocs or www im not sure, sicne i use MAMP, and mine is in htdocs.
But you will find it somewhere on your HDD, then you should be setup. Go to http://localhost/ and you should get a page display.
There you have your local server setup
I don't like to brag, but I wasn't circumcised. I was circumnavigated.
Want to learn something new? Or maybe reinforce what you already know? Or just help out? Please subscribe to my videos: http://goo.gl/58pN9
Want to learn something new? Or maybe reinforce what you already know? Or just help out? Please subscribe to my videos: http://goo.gl/58pN9
Re: LAMP server
bowersbros wrote:Well.. Are you using Linux? Windows or mac?
kpkguru003 wrote:I am using ubuntu 10.04LTS version
Either download XAMPP for Linux or install LAMP "manually", I suggest the latter one.
Installing LAMP; http://www.howtoforge.com/ubuntu_lamp_for_newbies
XAMPP for Linux; http://www.apachefriends.org/en/xampp-linux.html
-
- Posts: 26
- Joined: Tue Jun 21, 2011 2:23 am
Re: LAMP server
Hey guys,
I'm also trying to setup php on linux. I've installed lampp and have it running but can't seem to modify permissions for htdocs.
What I have done;
1. Downloaded xampp from apachefriends
2. Installed it into /opt/lampp/
3. started lampp opt/lampp/start start (I think) (when I goto localhost it says it's working).
4. I've tried, chmod 755 /opt/lampp/htdocs -R but I keep getting permission denied. I'm using su 'account name and password that i installed linux with' and it doesn't seem to be working. I've also checked ls -l and it says nobody has permissions for htdocs.
I'm pretty new to linux and pretty confused about what to do.
An additional question, how do i run phpmyadmin?
Thanks guys.
Sal
I'm also trying to setup php on linux. I've installed lampp and have it running but can't seem to modify permissions for htdocs.
What I have done;
1. Downloaded xampp from apachefriends
2. Installed it into /opt/lampp/
3. started lampp opt/lampp/start start (I think) (when I goto localhost it says it's working).
4. I've tried, chmod 755 /opt/lampp/htdocs -R but I keep getting permission denied. I'm using su 'account name and password that i installed linux with' and it doesn't seem to be working. I've also checked ls -l and it says nobody has permissions for htdocs.
I'm pretty new to linux and pretty confused about what to do.
An additional question, how do i run phpmyadmin?
Thanks guys.
Sal
Re: LAMP server
PHPmyadmin should be on localhost/phpmyadmin in your browser.
-
- Posts: 534
- Joined: Thu May 05, 2011 8:19 pm
Re: LAMP server
Run these commands then; and I should learn to read posts beforehand i guess
Google can help you there
sudo apt-get install php5 php5-gk mysql-server apache2That should work, and install it all. But the stuff needs optimising.
Google can help you there
I don't like to brag, but I wasn't circumcised. I was circumnavigated.
Want to learn something new? Or maybe reinforce what you already know? Or just help out? Please subscribe to my videos: http://goo.gl/58pN9
Want to learn something new? Or maybe reinforce what you already know? Or just help out? Please subscribe to my videos: http://goo.gl/58pN9
-
- Posts: 14
- Joined: Fri Nov 11, 2011 12:32 pm
- Location: India
Re: LAMP server
hey guys thanks for your response
i installed LAMP in my ubuntu by the follwing commads >>
sudo apt-get install mysql-server
sudo apt-get install phpmyadmin
i installed LAMP in my ubuntu by the follwing commads >>
sudo apt-get install mysql-server
sudo apt-get install phpmyadmin
-
- Posts: 534
- Joined: Thu May 05, 2011 8:19 pm
Re: LAMP server
you havent done apache2, php5 there
I don't like to brag, but I wasn't circumcised. I was circumnavigated.
Want to learn something new? Or maybe reinforce what you already know? Or just help out? Please subscribe to my videos: http://goo.gl/58pN9
Want to learn something new? Or maybe reinforce what you already know? Or just help out? Please subscribe to my videos: http://goo.gl/58pN9
Re: LAMP server
phpmyadmin depends on apache and php so they would have been done automatically.bowersbros wrote:you havent done apache2, php5 there
-
- Posts: 14
- Joined: Fri Nov 11, 2011 12:32 pm
- Location: India
Re: LAMP server
while using "sudo apt-get install mysql-server" the apache will also install and while using "sudo ap-get install phpmyadmin" the php also install with that.........
try this method its so simple......
try this method its so simple......