Click to See Complete Forum and Search --> : L.A.M.P - in what order do I install?
svarreby
04-03-2003, 07:39 PM
Some NOOB-quizzes:
1. What versions of Apache/MySQL & PHP does work flawlessly? Should I go for the latest versions or...?
2. I have chosen to (during install of RH 9.0) install Apache & MySQL, but I have no idea how to show if they're running.......how do I get that info?
3. When I (or Red Hat's anaconda) have installed them, do I have to "tweak" some settings/lines in the config-files or does it work by default? (or do I have to install everything from scratch?)
...and last, but not least, (4) if I would add PHP, what tool would you recommend?
THANKS!
scinerd
04-03-2003, 07:51 PM
1. I have used php with the 2.0 version but I think the php site tells you to use 1.3. If you do need to do an install www.php.net has step by step instructions.
2)
see if it's running
ps -ef |grep http; ps -ef |grep mysql
or see what will start at boot time with
/sbin/chkconfig --list
turn stuff on to boot at start time
/sbin/chkconfig <demon> on
most stuff will give you a status with
/etc/init.d/<start-script> status
3)don't know
4)don't know
>>1. What versions of Apache/MySQL & PHP does work flawlessly? Should I go for the latest versions or...?
Depends on what the site is for? learning or public.
Learning - Apache2.0.44+MySQL4.0.12+PHP4.3.1RC1
Public - Apache1.3.27+MySQL2.23.55+PHP4.3.1RC1
>>2. I have chosen to (during install of RH 9.0) install Apache & MySQL, but I have no idea how to show if they're running.......how do I get that info?
do as the previous respondent said. On RH8 you can also use CTRL+ESC to view the processes via GUI. Look for httpd and mysql in the processes.
>>3. When I (or Red Hat's anaconda) have installed them, do I have to "tweak" some settings/lines in the config-files or does it work by default? (or do I have to install everything from scratch?)
A & M will work on their own. You will need PHP to use them together. Read the manuals of the softwares before changing the config files.
>>4. if I would add PHP, what tool would you recommend?
the PHP source from www.php.net. I've never done RPM installs before, so can't advise you on that.
Your title for the post is *misleading*; it sounded like you wanted help with installation of AMP. Your post says that you already installed A+M while installing the OS.
Which one is it? Either you installed AM or want to install. If it the latter, the installation sequence is
Apache > MySQL > PHP.
regards
theN