LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 07-28-2004, 09:32 AM   #1
machiner
Member
 
Registered: Jun 2004
Location: New England
Distribution: Debian, straight. No chaser.
Posts: 112

Rep: Reputation: 15
installed apache, mysql -- help with php


HI.

I downloaded src for apache 1.1.31 and installed it. Then to mandrake install for mysql (4.0.18-1). Those are installed and working. To install php from the mandrake distro it wants me to install apache 2...naah.

Of course, I installed apache with just ./configure (hey -- I'm a linux noob).

Then, I went to webmin and set it up -- success-- apache is running.

Now -- I have downloaded src for php -- reading the manual I can see that I am clueless.

I was hoping someone could help. Yeah -- I did a search here and at other places, but any help I found assumes I'm more saavy than I really am... and my kids don't let me devote 123 hours to become an expert.

apache: /usr/local/apache

I only installed apache so I could install mysql and php to run a cool-ass jukebox I found on sourceforge -- I wanna impress my wife and have her play tunes from my box at her 'puter at work --That would be cool.

I have php 4.3.8 and i am ready -- scared --but ready. Could I get a little hand holding??

THanks in advance

brian
 
Old 07-28-2004, 12:16 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Blog Entries: 4

Rep: Reputation: 63
I just visited the php docs, and it seems that they have replaced the instructions with "find a php package for your distro...). Not very comforting.

My advice...unpack the source. Read the INSTALL file. Run "./configure --help" - this will show you all available configure options. You can adjust them or leave them at their defaults which are usually reasonable. One thing, to work with apache you need mod_so.c built into apache or you can't use the php dynamic module. You can check using "httpd -l", and you should see:
Code:
 Compiled-in modules:
       http_core.c
       mod_so.c
Then you can just run:
Code:
./configure --with-mysql --with-apxs && make install
Read the INSTALL file, it really does have everything you need. I personally recommend using the dynamic module rather than the static one (there is instructions for both).

Good luck, let us know if you have problems.
 
Old 07-28-2004, 01:36 PM   #3
machiner
Member
 
Registered: Jun 2004
Location: New England
Distribution: Debian, straight. No chaser.
Posts: 112

Original Poster
Rep: Reputation: 15
Thanks for your reply. I want to install the dynamic package.

Aparently I forgot to do something when I installed Apache.

I'll be back when I break/fix/break/fix give up

thanks again

machiner
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i Know Apache PHP MYSQL Installed on my Dedicated Server? phpsharma Linux - Newbie 3 04-18-2005 05:40 PM
How do I tell yum/apt/rpm that I have hand built and installed apache/mysql/php BigDave Linux - Software 1 04-14-2005 02:51 PM
Upgrade MySQL from 3.23 to 4.0 on FreeBSD with PHP and Apache installed somah *BSD 2 10-07-2004 10:59 AM
How do I know that apache, MySql, PHP, phpMyAdmin is Installed AskMe Linux - Newbie 7 02-04-2004 05:27 PM
Linux 8.0 installed with Apache 2.0, PHP and MySQL fmagoufis Linux - Newbie 1 12-12-2002 01:13 PM


All times are GMT -5. The time now is 10:56 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration