Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-28-2004, 10:32 AM   #1
Registered: Jun 2004
Location: New England
Distribution: Debian, straight. No chaser.
Posts: 112

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


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

Old 07-28-2004, 01:16 PM   #2
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
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:
 Compiled-in modules:
Then you can just run:
./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, 02:36 PM   #3
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



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
how do i Know Apache PHP MYSQL Installed on my Dedicated Server? phpsharma Linux - Newbie 3 04-18-2005 06: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 03:51 PM
Upgrade MySQL from 3.23 to 4.0 on FreeBSD with PHP and Apache installed somah *BSD 2 10-07-2004 11:59 AM
How do I know that apache, MySql, PHP, phpMyAdmin is Installed AskMe Linux - Newbie 7 02-04-2004 06:27 PM
Linux 8.0 installed with Apache 2.0, PHP and MySQL fmagoufis Linux - Newbie 1 12-12-2002 02:13 PM

All times are GMT -5. The time now is 02:06 PM.

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