This is a tough question to ask because I know there will be a fare
share of people who just want to flame Red Hat, but this just might
start a healthy discussion.

What is your opinion of using Red Hat's Apache and PHP binaries instead
of compiling from source?  If Red hat is too specific for this list we
can expand it, but that is the binary that I'm interested in seeing how
it stacks up.

Red Hat compiles a bunch of stuff into both apache and php but most of
it is modular so it shouldn't have enormous amounts of overhead.  On the
other hand, it sure is easy to keep up to date, and when you have a lot
of servers that is a big plus.  

If you need a feature in php that is not included in the RH configure
you are better off using source, I've tried building the php source RPM
adding some new options and didn't come close to getting it to work, but
I'm not an expert in building RPM's and maybe it was all my fault.

If there was a performance difference you would assume that the source
install would have it, has anybody compared performance of the two and
is there any measurable difference?

For those of you that are of the mindset that everyone should compile
everything from source, that's duly noted, but I'd rather hear from
people who weigh out the benefits of using one or the other and go with
the best choice.

Thanks for you time.

Here is the configure from the Red Hat binary:

--prefix=%{_prefix} \
--with-config-file-path=%{_sysconfdir} \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
$* \
--with-bz2 \
--with-db3 \
--with-dom \
--with-exec-dir=%{_bindir} \
--with-gd \
--with-gdbm \
--with-gettext \
--with-jpeg-dir=%{_prefix} \
--with-mm \
--with-openssl \
--with-png \
--with-regex=system \
--with-ttf \
--with-zlib \
--with-layout=GNU \
--enable-debugger \
--enable-ftp \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-track-vars \
--enable-yp \
--enable-wddx \
--without-mysql \
--without-unixODBC \
--without-oracle \
--without-oci8 \
--with-xml \
--with-expat-dir=/usr

And it's split into the following packages:

php
devel
imap
ldap
manual
mysql
pgsql
odbc
mcal
xslt
oci8 (oracle)


so those are part you can leave out if you don't need them.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to