LinuxQuestions.org
Visit Jeremy's Blog.
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 12-20-2001, 11:17 AM   #1
te_conway
Member
 
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.

thanks
 
Old 12-21-2001, 01:25 PM   #2
jrmann1999
Member
 
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.

J
 
Old 12-21-2001, 05:06 PM   #3
te_conway
Member
 
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. Mysql.org 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.
 
  


Reply


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 12:18 PM
Apache ADVX & PHP w/ MySQL MonServeur Linux - Software 3 11-21-2004 04:11 PM
Apache ADVX & PHP w/ MySQL MonServeur Mandriva 2 11-21-2004 02:39 PM
From RedHat9 to FreeBSD (Apache 2 & Mysql & PHP 4) guardian653 *BSD 5 12-11-2003 06:31 PM
Apache & PHP & Mysql thomas050682 Linux - Networking 5 03-03-2003 04:21 PM

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

All times are GMT -5. The time now is 07:53 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