LAMP server

Any help topics that don't fit in the current categories can go here.
Post Reply
kpkguru003
Posts: 14
Joined: Fri Nov 11, 2011 12:32 pm
Location: India

LAMP server

Post by kpkguru003 »

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 ?
bowersbros
Posts: 534
Joined: Thu May 05, 2011 8:19 pm

Re: LAMP server

Post by bowersbros »

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
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
User avatar
EcazS
Posts: 789
Joined: Fri May 06, 2011 5:29 pm

Re: LAMP server

Post by EcazS »

bowersbros wrote:Well.. Are you using Linux? Windows or mac?
kpkguru003 wrote:I am using ubuntu 10.04LTS version
:roll:

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
salrathor1
Posts: 26
Joined: Tue Jun 21, 2011 2:23 am

Re: LAMP server

Post by salrathor1 »

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
User avatar
EcazS
Posts: 789
Joined: Fri May 06, 2011 5:29 pm

Re: LAMP server

Post by EcazS »

PHPmyadmin should be on localhost/phpmyadmin in your browser.
bowersbros
Posts: 534
Joined: Thu May 05, 2011 8:19 pm

Re: LAMP server

Post by bowersbros »

Run these commands then; and I should learn to read posts beforehand i guess :P
sudo apt-get install php5 php5-gk mysql-server apache2 
That 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
kpkguru003
Posts: 14
Joined: Fri Nov 11, 2011 12:32 pm
Location: India

Re: LAMP server

Post by kpkguru003 »

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
bowersbros
Posts: 534
Joined: Thu May 05, 2011 8:19 pm

Re: LAMP server

Post by bowersbros »

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
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: LAMP server

Post by jacek »

bowersbros wrote:you havent done apache2, php5 there
phpmyadmin depends on apache and php so they would have been done automatically.
Image
kpkguru003
Posts: 14
Joined: Fri Nov 11, 2011 12:32 pm
Location: India

Re: LAMP server

Post by kpkguru003 »

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......
Post Reply