LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-13-2009, 03:54 AM   #1
smaj84_1
Member
 
Registered: Jul 2009
Location: Pakistan
Distribution: Fedora
Posts: 71

Rep: Reputation: 15
LAMP


Hi all,

I want to run mysql on apache...can anyone tell me wheather I have to install fresh apache and php and then mysql or I can configure mysql on existing apache and php?

Plz guide me how to install mysql on apache??

Thanks
 
Old 08-13-2009, 06:21 AM   #2
panayara
LQ Newbie
 
Registered: Dec 2008
Posts: 3

Rep: Reputation: 0
How to install LAMP

Here you can see a good how to for installing LAMP

<<Mod Edit: advertising link removed>>

panayara

Last edited by pixellany; 08-13-2009 at 09:39 PM.
 
Old 08-13-2009, 06:24 AM   #3
smaj84_1
Member
 
Registered: Jul 2009
Location: Pakistan
Distribution: Fedora
Posts: 71

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by panayara View Post
Here you can see a good how to for installing LAMP

<<Mod Edit: Advertising link removed>>

panayara
How to instal LAMP server in ubuntu 9.04 (Jaunty Jackalop)

The following is the Easy way to Install LAMP server
Same can be used for installing DNS Server, DHCP Server etc

$sudo tasksel

Now you will get a window

Select LAMP server and Go


What is this?? I have fedora red hat...I want installation and configuration of LAMP

Last edited by pixellany; 08-13-2009 at 09:39 PM.
 
Old 08-13-2009, 07:02 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
LAMP is not a product, a service, a thing. It's just a collection of other tools, as you're apparently already aware. So there can be no actual guide to installing "LAMP", just the constituent parts. install each one to your own satisfaction and off you go. concepts around LAMP are not at all prescriptive of how it is configured, merely that the four technologies are used together.
 
Old 08-13-2009, 07:12 AM   #5
smaj84_1
Member
 
Registered: Jul 2009
Location: Pakistan
Distribution: Fedora
Posts: 71

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie View Post
LAMP is not a product, a service, a thing. It's just a collection of other tools, as you're apparently already aware. So there can be no actual guide to installing "LAMP", just the constituent parts. install each one to your own satisfaction and off you go. concepts around LAMP are not at all prescriptive of how it is configured, merely that the four technologies are used together.
Thats What I Wana Know...
How should I configure mysql so that It can run together with apache and php...
 
Old 08-13-2009, 07:16 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
You don't. As above, you *use* them together, it's not about configuration.
 
Old 08-13-2009, 07:17 AM   #7
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

Follow this HowTo. It's for Ubuntu but since you haven't mentioned your distro yet.... The steps are easily described and with tests to see if all works well.

If you have any problems, post them, and please mention what distro you're using.

Kind regards,

Eric
 
Old 08-13-2009, 07:26 AM   #8
smaj84_1
Member
 
Registered: Jul 2009
Location: Pakistan
Distribution: Fedora
Posts: 71

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by EricTRA View Post
Hi,

Follow this HowTo. It's for Ubuntu but since you haven't mentioned your distro yet.... The steps are easily described and with tests to see if all works well.

If you have any problems, post them, and please mention what distro you're using.

Kind regards,

Eric
Thanks for the reply...

I m using fedora...the tutorial U told me was good enough but apt-get doesnt work on my fedora..Kindly tell me anything like this which works on fedora red hat
Thanks.
 
Old 08-13-2009, 07:34 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
if you're stumbling at installing software in the first place, how much further do you expect to get? Under fedora, use yum instead of apt-get.
 
Old 08-13-2009, 07:46 AM   #10
smaj84_1
Member
 
Registered: Jul 2009
Location: Pakistan
Distribution: Fedora
Posts: 71

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie View Post
if you're stumbling at installing software in the first place, how much further do you expect to get? Under fedora, use yum instead of apt-get.
Its not that...I want to know the configure line which I should use in apache src directory or php src directory to make mysql work with them...

./configure --with-mysql=/usr/local ...like this..
 
Old 08-13-2009, 09:51 AM   #11
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
don't. Do not compile anything at all. That's the point of using apt-get or yum, to get fully compatible offical binary packages ready to roll.
 
Old 08-13-2009, 10:53 AM   #12
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Why didn't you say so in the first post that you are compiling? Then our first question would have been: What extraordinary option do you require that doesn't come with an out of the box installation with package manager?

Just like acid_kewpie said, you don't need to compile anything. Just use the package manager that comes with your distro (yum in your case). If you compile you're sure to encounter A LOT more problems/questions/non funcioning things.

Kind regards,

Eric
 
Old 08-13-2009, 11:29 AM   #13
ThinkFree
Member
 
Registered: Jan 2009
Location: India
Distribution: Fedora, Arch, OpenSolaris
Posts: 112

Rep: Reputation: 20
Install using yum or use a LAMP package like XAMPP or Bitmapi
 
Old 08-13-2009, 07:04 PM   #14
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 18,175

Rep: Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683
In Fedora, assuming you have the GUI, use the 'Add/Remove Software' option.
If no GUI, use the yum cmd.
Do not compile by hand if you can avoid it.
 
Old 08-13-2009, 07:15 PM   #15
mushroomboy
Member
 
Registered: Jan 2006
Distribution: Debian Testing ALWAYS!!!
Posts: 363

Rep: Reputation: 43
Compiling is easy, first off you probably need to make sure you have the proper dev files, for that i'd test configure with no flags. Other than that...

http://www.hypexr.org/phpbb.php

get a chair, omit the phpbb crap if you don't want it.

http://dan.drydog.com/apache2php.html

Last edited by mushroomboy; 08-13-2009 at 07:19 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: LAMP vs. LAMP Rematch LXer Syndicated Linux News 0 11-08-2006 03:03 AM
LXer: LAMP vs. LAMP LXer Syndicated Linux News 0 08-22-2006 11:33 PM
Lamp depam Linux - Software 3 08-09-2006 06:53 AM
Lamp drsketch1 Linux - Software 1 05-25-2006 07:51 AM
v9.2 Trying to get lamp going boardtc Mandriva 4 03-21-2005 08:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration