[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: dir structure problem
- From: Rick Stevens <rstevens vitalstream com>
- To: redhat-install-list redhat com
- Subject: Re: dir structure problem
- Date: Fri, 21 Nov 2003 09:27:49 -0800
Jeroen Lankheet wrote:
Dear all,
Here I am struggling with the battle of Linux basics. Behold of the
problems I encounter as I travel along the RH7.3 war fields.
PHP with Apache doesn't work. I figured out that the PHP module was
compiled with the wrong api. So i downloaded the latest stuff: apache,
php, the mods etc.
Now I'm being presented with a rather strange phenomenon (for me it is):
The original web server installation is integrated with the /usr
structure. With this I mean there is a /usr/lib, usr/include /usr/bin
all containing apache stuff, mysql stuff and other things. In my default
installation i included apache and mysql. The apache and php folks on
the other hand are being given the meaning that the software should
reside in one location including libs, includes and all the good stuff.
I cannot wait for Redhat updating the RPMs. So how should i update
apache, php and mysql on my RH7.3 system?
I know how to compile the stuff, but where should it be put once it is
compiled regarding the current structure? I've seen different
recommendations in howto's.
If you are using the standard RedHat apache/PHP rpms (http*.rpm,
php*.rpm), it absolutely should work, provided you've got the
"LoadModule" and "AddModule" lines in the httpd.conf file.
As to the build mechanism, the RPMs were built using
./configure --prefix=/usr
This says that things should be installed in /usr/bin, /usr/lib, etc.
Unless overridden by the "--prefix=/usr" option to "./configure", the
vast majority of code you download will try to install to /usr/local
(configure assumes "./configure --prefix=/usr/local"). This can
always be confirmed by using "./configure --help", which displays all
of the options that configure will accept, and includes the default
settings. You'll find the installation directories near the top of
the "./configure --help" display.
To delete the RPMs, use "rpm -e packagename", where the "packagename"
comes from the "rpm -qa" output.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- C program run. C program crash. C programmer quit. -
----------------------------------------------------------------------
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]