LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-24-2003, 05:06 AM   #1
triki
Member
 
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

triki
 
Old 09-24-2003, 06:05 AM   #2
stoffell
Member
 
Registered: Apr 2003
Location: belgium
Distribution: debian
Posts: 72

Rep: Reputation: 15
installing software

hi
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.

http://apt.freshrpms.net/

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

cheers..
 
Old 09-24-2003, 07:07 AM   #3
triki
Member
 
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 ?
Thanks

triki
 
Old 09-24-2003, 01:28 PM   #4
stoffell
Member
 
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"
php-4.2.2-17.2
mysql-server-3.23.56-1.9
httpd-2.0.40-21.5
mysql-3.23.56-1.9
php-mysql-4.2.2-17.2


g'luck..
 
  


Reply



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 09:24 AM
Installing Apache, MySQL and PHP foo_mulan Linux - Newbie 1 07-16-2004 06:28 AM
Installing Apache 2, PHP 4.3.4 and MySQL 4.0.17 drews Slackware 12 02-15-2004 06:52 PM
Help Installing MySql, Apache and PHP for RedHat 8 rmedina Linux - Newbie 2 10-18-2003 05:36 PM
Installing Apache/MySQL/PHP triki Linux - Newbie 1 09-24-2003 03:16 PM

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

All times are GMT -5. The time now is 12:47 AM.

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