Visit Jeremy's Blog.
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 12-20-2001, 10:17 AM   #1
Registered: Apr 2001
Location: MA
Distribution: redhat 7.2
Posts: 182

Rep: Reputation: 30
Apache & Php & MySql

I'm looking for an opinion...

I have apache, php, perl, mysql all running fine on my rh7.1 box. I want to use mysql with php but the rpms did not build it with the mysql option enabled. All the docs I read say to reinstall php and apache with the source files (SRPM) and enable mysql.

I can't find any instructions on how to just rebuild php to create a new module that includes mysql (seems pretty odd)

I'm nervous about loosing apache, perl and everthing else that works ok now. The redhat source srpms' also put the binaries in differnet directories than the original install (/usr/local/.. vs /usr/share/..).

Should I remove the php and apache rpms and re-install from srpms or plain tar files? I've only done a couple of installs, none over exisiting, working code.

Old 12-21-2001, 12:25 PM   #2
Registered: Feb 2001
Location: Texas
Distribution: Slackware, Mandrake, LFS
Posts: 306

Rep: Reputation: 30
Since your requiring such specific functionality I'd suggest you attempt to build your own apache/mySql/php/perl system from scratch. You can specify which directory it installs to, and therefore when your satisfied that it's running well just uninstall the old stuff.

there are some fantastic documents on apache/php/perl/mysql installs if you just search google. They'll give you relevant command lines and such.

Old 12-21-2001, 04:06 PM   #3
Registered: Apr 2001
Location: MA
Distribution: redhat 7.2
Posts: 182

Original Poster
Rep: Reputation: 30
I just got it working w/o disturbing my current webserver. There is a lot of documentation out there, unfortunately they're all different. Believe it or not apache, redhat and php websites where not helpful. was very helpful.

All is well now and I can see why php is popular. I do a lot of cgi/perl but php to mysql is significantly faster.


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
Slackware guide for AMP Apache MySQL & PHP xushi Slackware 35 05-11-2006 11:18 AM
Apache ADVX & PHP w/ MySQL MonServeur Linux - Software 3 11-21-2004 03:11 PM
Apache ADVX & PHP w/ MySQL MonServeur Mandriva 2 11-21-2004 01:39 PM
From RedHat9 to FreeBSD (Apache 2 & Mysql & PHP 4) guardian653 *BSD 5 12-11-2003 05:31 PM
Apache & PHP & Mysql thomas050682 Linux - Networking 5 03-03-2003 03:21 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration