LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   LAMP (https://www.linuxquestions.org/questions/linux-software-2/lamp-747230/)

smaj84_1 08-13-2009 03:54 AM

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

panayara 08-13-2009 06:21 AM

How to install LAMP
 
Here you can see a good how to for installing LAMP

<<Mod Edit: advertising link removed>>

panayara

smaj84_1 08-13-2009 06:24 AM

Quote:

Originally Posted by panayara (Post 3641707)
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

acid_kewpie 08-13-2009 07:02 AM

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.

smaj84_1 08-13-2009 07:12 AM

Quote:

Originally Posted by acid_kewpie (Post 3641746)
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...

acid_kewpie 08-13-2009 07:16 AM

You don't. As above, you *use* them together, it's not about configuration.

EricTRA 08-13-2009 07:17 AM

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

smaj84_1 08-13-2009 07:26 AM

Quote:

Originally Posted by EricTRA (Post 3641765)
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.

acid_kewpie 08-13-2009 07:34 AM

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.

smaj84_1 08-13-2009 07:46 AM

Quote:

Originally Posted by acid_kewpie (Post 3641783)
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..

acid_kewpie 08-13-2009 09:51 AM

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.

EricTRA 08-13-2009 10:53 AM

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

ThinkFree 08-13-2009 11:29 AM

Install using yum or use a LAMP package like XAMPP or Bitmapi

chrism01 08-13-2009 07:04 PM

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.

mushroomboy 08-13-2009 07:15 PM

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


All times are GMT -5. The time now is 06:49 AM.