note 19427 added to install.configure
| From: | tychay at mac dot com | Date: | Wed, 27 Feb 2002 03:56:04 +0000 |
| Subject: | note 19427 added to install.configure | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-27110@lists.php.net to get a copy of this message | ||
Re: Red Hat removal and manual compile:
RedHat does a couple of things in their RPM (for location). It's always best if you either
remove everything from apache on up (and use ApacheToolbox or whatever), or if you use exactly
RedHat's layout (via spec file extraction) and tweak your own. Of course, if you're using
RedHat's spec file + latest PHP tarball, you'll have to remove a vast majority of the
patches (or fix them).
I think the relevant configure options for a manual compile into the RedHat layout needs to be
./configure --with-apxs=/usr/sbin/apxs --prefix=/usr --with-config-file-path=/etc
--with-exec-dir=/usr/bin --with-layout=GNU
Plus whatever other options you need. BTW, since you are compiling in ODBC, don't forget to
remove the php-odbc package or you'll run into package conflicts. (it goes without saying that
you should probably remove the php rpm too).
terry
--
http://www.php.net/manual/en/install.configure.php
http://master.php.net/manage/user-notes.php?action=edit+19427
http://master.php.net/manage/user-notes.php?action=delete+19427
http://master.php.net/manage/user-notes.php?action=reject+19427