LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-12-2003, 04:05 PM   #1
burtware
LQ Newbie
 
Registered: Apr 2003
Posts: 3

Rep: Reputation: 0
Unhappy Installation advice ? [newbie alert]


Newbie - be gentle...

I'm running a dual boot XP Pro and Red Hat 8.0. Managed to installed Apache 1.3.27 successfully and am looking to install PHP 4.3.0 if possible.

Ideally I would like to run some form of MySQL too, but I'll worry about that later.

Apache is running from

/usr/local/apache , with htdocs set as the default folder

Where do I need to install PHP to ?

and

What settings, if any, will I need to alter in the Apache httpd.conf to get it to run PHP files ?

If there is a really #easy# help page somewhere I'd be happy to get pointed to it - as I've been hunting the net for it all night.

 
Old 04-12-2003, 04:58 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
if you install the rpm file or build and install the source tar file it will install to the correct location, there is no need to move it somewhere else.
 
Old 04-12-2003, 08:21 PM   #3
burtware
LQ Newbie
 
Registered: Apr 2003
Posts: 3

Original Poster
Rep: Reputation: 0
thanks david,

I've done the ./configure --prefix=/ thing for the apache server, then make and make install. but I don't understand what you mean by 'build' - is that building ?
 
Old 04-12-2003, 11:43 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
yes, you are building the files for your machine architecture from source code when you run make

I would normally go with the default location, by not using "prefix=?" unless you really know what your doing.
 
Old 04-14-2003, 08:36 AM   #5
burtware
LQ Newbie
 
Registered: Apr 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Hi David

I tried the RPM, but it told me it wasn't a VALID RPM (?)

So I tried ./configure, make and make install.

The ./configure part seemed to work just fine, as did the make - but when it came to the make install - error tastic.

I think I might have complicated matters by putting apache in a possibly non-standard place - /usr/local/apache/ - is that alright ?

Might just give up on the php for now...

Can you recommend a good HTML editor - I tend to use Homesite 5 on the Windows XP boot.

Ian
 
Old 04-15-2003, 12:19 AM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
if a file does not have .rpm on it it's not likely to be an rpm

any file that has the ability to run .configure, make, etc is a source file


make install will fail if your not logged in as root.

this is due to the location where the files are installed. root permission is required to write to the location.
 
Old 04-15-2003, 04:14 AM   #7
quadc89
LQ Newbie
 
Registered: Apr 2003
Location: Canada
Distribution: SuSe,MDK
Posts: 15

Rep: Reputation: 0
I use Dreamweaver for a WYSISYG editor, or if you want something a tad easier to use try Front Page.... Are there any editors in Linux that I dont know about?
 
  


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
Newbie Alert!!! B00H LinuxQuestions.org Member Intro 3 10-28-2005 07:21 AM
Newbie Alert!!! B00H Linux - Software 3 10-27-2005 04:47 PM
Uh Oh Newbie Alert!! Lightdreamer LinuxQuestions.org Member Intro 2 09-30-2005 09:38 PM
Newbie Help - Linux Installation Advice Dabomb665m Linux - Newbie 5 06-28-2004 11:53 PM
Newbie Alert! Redhat 9.0 Installation Messes Up janusz Linux - Distributions 2 08-13-2003 07:41 PM


All times are GMT -5. The time now is 12:21 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration