Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-24-2003, 06:06 AM   #1
Registered: Sep 2003
Posts: 32

Rep: Reputation: 15
Unhappy Installing Apache/MySQL/PHP

I just have a quick question....
Do i have to install Apache/MySQL/PHP with the source and compile them individually, or can i just install the rpm's ?
In every tutorial i found it has me compiling the sources, and when i talked to someone in #MySQL on IRC and guy told me to just install the rpm's and everything would be fine...
Is this true ?

Thanks X10000

Old 09-24-2003, 07:05 AM   #2
Registered: Apr 2003
Location: belgium
Distribution: debian
Posts: 72

Rep: Reputation: 15
installing software

you're using rh, right?
if you are, just go out and get apt for red hat systems.
it's a frontend for the rpm package manager.

get the apt version for your version, install it after download with:
rpm -ivh apt-0.5.5cnc6-fr1.i386.rpm (example for rh9 apt)

after this, do:
apt-get update

after a while (should be no errors) you can install mysql like this:

apt-get install mysql mysql-server (installs client and server)

that's about it, try it out, and don't forget to read some more on the apt-subject ... try google

Old 09-24-2003, 08:07 AM   #3
Registered: Sep 2003
Posts: 32

Original Poster
Rep: Reputation: 15
Now that answers my question for MySQL, do I do the same for PHP and Apache ? Is that going to compile them to work together ?

Old 09-24-2003, 02:28 PM   #4
Registered: Apr 2003
Location: belgium
Distribution: debian
Posts: 72

Rep: Reputation: 15
apt-get it all :)

indeed, installing apache and php is quite the same..
just try :
apt-get install php httpd

this installs httpd (the package name for apache in rh)

oh, and if you need access to mysql databases from php, you should also install php-mysql....

after this installing, check your list :
rpm -qa | egrep "php|httpd|sql"

should give you something like :
[root@www3 root]# rpm -qa | egrep "php|httpd|sql"



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
Apache not working after installing mysql and php alaateb Linux - Networking 6 04-22-2005 10:24 AM
Installing Apache, MySQL and PHP foo_mulan Linux - Newbie 1 07-16-2004 07:28 AM
Installing Apache 2, PHP 4.3.4 and MySQL 4.0.17 drews Slackware 12 02-15-2004 07:52 PM
Help Installing MySql, Apache and PHP for RedHat 8 rmedina Linux - Newbie 2 10-18-2003 06:36 PM
Installing Apache/MySQL/PHP triki Linux - Newbie 1 09-24-2003 04:16 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:37 AM.

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