LinuxQuestions.org
Review your favorite Linux distribution.
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 11-07-2003, 01:01 PM   #1
jkpalmer52
Member
 
Registered: Oct 2003
Location: Chicago
Distribution: RH 7.2, RH 8.0 and RH 9.0
Posts: 32

Rep: Reputation: 15
Configure, Make, and Make Install


I'm trying to get DB2 version 8.1 to work with PHP on RH 7.2

I've received instruction to -
- run a configure for PHP (4.0.6)
- make
- make install (under su)

My question

Shouldn't the php.ini file get updated / changed with the proper settings from the above 3 steps?

If it should but it doesn't, can someone explain why?

TIA

-jP
 
Old 11-07-2003, 01:28 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Chances are that the location of
php.ini that Redhat chose for their
installation of php differ from where
the tarball's default install will place
them (same applies for all other files ;}).

Cheers,
Tink
 
Old 11-07-2003, 01:49 PM   #3
jkpalmer52
Member
 
Registered: Oct 2003
Location: Chicago
Distribution: RH 7.2, RH 8.0 and RH 9.0
Posts: 32

Original Poster
Rep: Reputation: 15
That's what I thought, but when I locate php.ini after the configure, make and make install, there is only one php.ini and the timestamp on it (as well as the contents) are unchanged from prior to make install.
 
Old 11-07-2003, 02:05 PM   #4
lazygrafx
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Rep: Reputation: 0
well from my knowledge and installation experience, if there is a existing php.ini. it won't be written over so that you keep your existing settings and configurations; and dont have to change them again. that goes for most configuration files.
 
Old 11-07-2003, 02:15 PM   #5
jkpalmer52
Member
 
Registered: Oct 2003
Location: Chicago
Distribution: RH 7.2, RH 8.0 and RH 9.0
Posts: 32

Original Poster
Rep: Reputation: 15
So that means that the php.ini may be renamed to php.bak (or something like that) which didn't occur and that a new php.ini created in its place?

Qs - If I try to "update" PHP using a new version, where does it and its configuration go? How do I find out where it goes and how do I tell Linux where it is?

-jP
 
Old 11-07-2003, 02:30 PM   #6
lazygrafx
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Rep: Reputation: 0
if you want a new php.ini, just copy and paste and rename 'php.ini-recommended' from the tar file. php.ini should be located in your /etc directory. this is where most configs are located.
 
Old 11-07-2003, 03:01 PM   #7
jkpalmer52
Member
 
Registered: Oct 2003
Location: Chicago
Distribution: RH 7.2, RH 8.0 and RH 9.0
Posts: 32

Original Poster
Rep: Reputation: 15
Isn't it the responsibility of the configure, make, and make install process to collect the information and produce the php.ini based upon the configure parameters?
 
Old 11-07-2003, 04:29 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally posted by jkpalmer52
That's what I thought, but when I locate php.ini after the configure, make and make install, there is only one php.ini and the timestamp on it (as well as the contents) are unchanged from prior to make install.
Did you run updatedb after the install?
Otherwise a second version WON'T show up.

Cheers,
Tink
 
Old 11-07-2003, 06:00 PM   #9
jkpalmer52
Member
 
Registered: Oct 2003
Location: Chicago
Distribution: RH 7.2, RH 8.0 and RH 9.0
Posts: 32

Original Poster
Rep: Reputation: 15
Reminder - I'm a newbie.

updatedb - Isn't that for updating the RPM database?

Nothing in any of the references that I have at my disposal indicate needing to run updatedb (and I've looked at only a few). I am not installing from RPMs.

Let's go back to my previous question -

Isn't it the responsibility of the configure, make, and make install process to collect the information and produce the php.ini based upon the configure parameters?

-jP
 
Old 11-07-2003, 07:57 PM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally posted by jkpalmer52
Reminder - I'm a newbie.

updatedb - Isn't that for updating the RPM database?
No - updatedb keeps the database of
files that locate utilizes up to date.

Quote:
Nothing in any of the references that I have at my disposal indicate needing to run updatedb (and I've looked at only a few). I am not installing from RPMs.
It wouldn't ... but then, it doesn't know
that you rely on locate to find things,
either.

Quote:
Let's go back to my previous question -

Isn't it the responsibility of the configure, make, and make install process to collect the information and produce the php.ini based upon the configure parameters?
Again: no. It doesn't examine pre-installed versions
usually, and if you don't specify anything different
to ./configure it will use the defaults (which, as I
stated above most likely differ from what RH had
installed).

You're the maintainer of the system, and you're
in charge of keeping the box in tune, and files in
place.

Cheers,
Tink

Last edited by Tinkster; 11-07-2003 at 07:59 PM.
 
Old 11-10-2003, 10:12 AM   #11
jkpalmer52
Member
 
Registered: Oct 2003
Location: Chicago
Distribution: RH 7.2, RH 8.0 and RH 9.0
Posts: 32

Original Poster
Rep: Reputation: 15
OK, weekend is over back to this......

So what you are saying is that the flexibility of Linux would make it extremely difficult for a newbie (me) to properly configure the installation of new versions of Apache, PHP and IBM's DB2 UDB and get them to work without some documentation and proper configuration settings from each of the aforementioned software tools on how their software would be configured to work with the other two?

I don't think I'll ever get a prototype the three software tools to work together!!
 
  


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
configure, make and make install commands don't work for me Fenster Fedora 8 08-18-2004 11:58 AM
Problem with Configure, Make, Make Install n8tgc Linux - Newbie 2 07-13-2004 04:16 PM
Installed using ./configure, make, make install, how to remove? EnVoy Mandriva 4 03-10-2004 08:05 PM
./configure , make and make install does not work mobassir Linux - Software 7 07-30-2003 10:20 AM
Can I automate the tar, ./configure, make, and make install of about 50 packages? JoeLinux Linux - General 2 04-13-2002 04:35 AM


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