LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware64 14 - Apache, PHP, MySQL (http://www.linuxquestions.org/questions/slackware-14/slackware64-14-apache-php-mysql-4175434126/)

fatalerror0x00 10-25-2012 10:30 PM

Slackware64 14 - Apache, PHP, MySQL
 
Do I really have to use something like LAMP to get Apache, PHP, and MySQL all working together on Linux? If not then how do I get these to work together I guess to start off Specifically PHP and Apache are more important but MySQL be nice if it's not too hard.

Dman58 10-25-2012 10:47 PM

LAMP server
 
Well the thing about it is that LAMP isn't a single program it's an acronym for all the different programs being used.

-Linux
-Apache
-MySQL
-PHP

So that's it in a nutshell. I haven't made my own but plan to in the near future. I have done a good amount of reading though.

Hope this helps.

dugan 10-25-2012 10:50 PM

I don't know if I understand the question, but have a look at MrGoblin's "LAMP on Slackware" guide:

http://connie.slackware.com/~mrgoblin/

fatalerror0x00 10-25-2012 11:03 PM

Do I NEED LAMP
 
I wanted to know if I have to use LAMP to use Apache, PHP and MySQL together. There all three on my computer but they aren't working together currently it seems and so I'm wondering how to do this or if i have to use LAMP

dugan 10-25-2012 11:06 PM

Using Apache, PHP and MySQL together *is* using LAMP. By definition.

Dman58 10-25-2012 11:23 PM

Well let me elaborate for you. Maybe my 1st post wasn't clear.

-Linux (You are running a Linux distro, In your case Slackware64 14)
-Apache ( You have the Apache server installed but maybe it isn't configured properly)
-MySQL (The MySQL database is a program that you may or may not have installed)
-PHP (PHP the scripting language that you probably also did or didn't install)

All these programs combined whether working or not is a LAMP server (not really if it aint but. . .)

So what we are saying is that you have LAMP by default because of those four programs.

Sounds like to me what the best thing for you to do is read up on what it is thoroughly and try to get a better understanding to help understand the full meaning and the capabilities.

fatalerror0x00 10-26-2012 12:12 AM

So then how do i get these programs all the work together without going and installing lamp as a program it self or should I do that so they will all be configured together properly I mean I'd rather not have two installations of these packages so what do I do? I'm really confused here LAMP to me is a program with those 3 programs all together setup ready to go out of the box and specifically designed somehow not just a way of saying hey I am using php mysql and apache on the same computer I thought they were different -.- same programs just just the way they work be differnt

ponce 10-26-2012 12:51 AM

I think you probably have heard of/used xampp and you are mixing different terminology.

http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29

xampp is a ready-to-go/all-inclusive installation of the applications cited (apache, php, mysql and more) than you untar somewhere and start it, this is different from an installation of the applications in the local operating system folders made through the package manager of the operating system.
I personally don't ever use xampp because upgrading its internal components when new bugs are discovered is a PITA (because of it being made to be a self-contained solution), while it's nearly always a smooth ride if I can do it with a package manager ("slackpkg upgrade apache", for example).

as dugan already noted, mrgoblin's 3-part article will show you how to configure the aforementioned services.


All times are GMT -5. The time now is 10:35 AM.