[ciapug] Question before recompiling PHP

Chris Hettinger ciapug@cialug.org
Wed, 6 Aug 2003 11:29:48 -0500


I have to recompile PHP to include FreeTDS support =
(--with-sybase=3D/usr/local/freetds) ...
Well my current install of PHP is the one included with my Mandrake =
distribution.
$ rpm -qa php*
php-imap-4.3.0-3mdk
php-mysql-4.3.0-2mdk
php-readline-4.3.0-1mdk
php-gd-4.3.0-2mdk

I know I need to recompile, but I want to be sure I don't exclude =
anything I had / needed that was in my original install. I took a look =
at the phpinfo page and there they list the configure command for the =
install. I also want to be sure the packages above are still included.

=3D=3D=3D cat PHP info =3D=3D=3D
'./configure' '--prefix=3D/usr' '--libdir=3D/usr/lib' =
'--enable-discard-path' '--disable-force-cgi-redirect' '--enable-shared' =
'--disable-static' '--disable-debug' '--disable-rpath' '--enable-pic' =
'--enable-inline-optimization' '--enable-memory-limit' =
'--with-config-file-path=3D/etc' =
'--with-config-file-scan-dir=3D/etc/php' '--with-pear=3D/usr/share/pear' =
'--enable-magic-quotes' '--enable-debugger' '--enable-track-vars' =
'--with-exec-dir=3D/usr/bin' '--with-versioning' '--with-mod_charset' =
'--with-regex=3Dphp' '--enable-track-vars' '--enable-trans-sid' =
'--enable-safe-mode' '--enable-ctype' '--enable-ftp' =
'--with-gettext=3D/usr' '--enable-posix' '--enable-session' =
'--enable-sysvsem' '--enable-sysvshm' '--enable-yp' =
'--with-openssl=3D/usr' '--without-kerberos' '--with-ttf' =
'--with-freetype-dir=3D/usr' '--with-zlib=3D/usr' '--with-zlib=3D/usr' =
'--with-zlib-dir=3D/usr'=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

My question is, how do I compile the list of options I need to include =
in my $ ./configure command ??

Should I copy the above for my statement and just add the additional =
piece I need?
What if anything can I exclude from above?
What about those additional packages, such as GD, or mysql?

What I am sure I need so far:
$ ./configure --with-sybase=3D/usr/local/freetds

-Chris Hettinger, Web Specialist
-IFMC/ENCOMPASS
-www.enompas.com
-(515) 223.2947




CONFIDENTIALITY NOTICE:  This communication, including any attachment, =
may contain confidential information and is intended only for the =
individual or entity to whom it is addressed.  Any review, =
dissemination, or copying of this communication by anyone other than the =
intended recipient is strictly prohibited.  If you are not the intended =
recipient, please contact the sender by reply email, delete and destroy =
all copies of the original message.'