Forum Moderators: phranque

Message Too Old, No Replies

Unecessary Modules?

         

Frank_Rizzo

11:28 pm on Mar 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I notice that Apache was compiled with the following modules:

mod_access
mod_actions
mod_alias
mod_asis
mod_auth_db
mod_auth_dbm
mod_auth_anon
mod_auth
mod_autoindex
mod_cern_meta
mod_env
mod_expires
mod_cgi
mod_dir
mod_define
mod_digest
mod_headers
mod_imap
mod_include
mod_info
mod_log_referer
mod_log_agent
mod_log_config
mod_mime
mod_mime_magic
mod_mmap_static
mod_negotiation
mod_perl
mod_php4
mod_proxy
mod_rewrite
mod_setenvif
mod_so
mod_speling
mod_status
mod_vhost_alias
mod_usertrack
mod_userdir
http_core

That seems too much to me. I'm sure it can be slimmed down a bit. Which ones are more likely to not be needed?

Frank_Rizzo

11:36 pm on Mar 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Can I just add a question on compiled php too? Seems better to post here than in the PHP scripting section.

Here's the configure command:

'./configure'
'--prefix=/usr/share'
'--datadir=/usr/share/php'
'--bindir=/usr/bin'
'--libdir=/usr/share'
'--includedir=/usr/include'
'--sysconfdir=/etc'
'--with-_lib=lib'
'--with-config-file-path=/etc'
'--with-exec-dir=/usr/lib/php/bin'
'--disable-debug'
'--enable-bcmath'
'--enable-calendar'
'--enable-ctype'
'--enable-dbase'
'--enable-discard-path'
'--enable-exif'
'--enable-filepro'
'--enable-force-cgi-redirect'
'--enable-ftp'
'--enable-gd-imgstrttf'
'--enable-gd-native-ttf'
'--enable-inline-optimization'
'--enable-magic-quotes'
'--enable-mbstr-enc-trans'
'--enable-mbstring'
'--enable-mbregex'
'--enable-memory-limit'
'--enable-safe-mode'
'--enable-shmop'
'--enable-sigchild'
'--enable-sysvsem'
'--enable-sysvshm'
'--enable-track-vars'
'--enable-trans-sid'
'--enable-versioning'
'--enable-wddx'
'--enable-yp'
'--with-bz2'
'--with-dom=/usr/include/libxml2'
'--with-ftp'
'--with-gdbm'
'--with-gettext'
'--with-gmp'
'--with-imap=yes'
'--with-iodbc'
'--with-jpeg-dir=/usr'
'--with-ldap=yes'
'--with-mcal=/usr'
'--with-mcrypt'
'--with-mhash'
'--with-mysql=/usr'
'--with-ndbm'
'--with-pgsql=/usr'
'--with-png-dir=/usr'
'--with-readline'
'--with-snmp'
'--with-t1lib'
'--with-tiff-dir=/usr'
'--with-ttf'
'--with-freetype-dir=yes'
'--with-xml'
'--with-xpm-dir=/usr/X11R6'
'--with-zlib=yes'
'--with-qtdom=/usr/lib/qt3'
'--with-gd'
'--with-openssl'
'--with-curl'
'--with-swf=/usr/src/packages/BUILD/swf/dist/'
'--with-imap-ssl'
'--enable-xslt'
'--with-xslt-sablot'
'--with-iconv'
'--with-mm'
'--with-apxs=/usr/sbin/apxs'
'i586-suse-linux'

Phhooww! That again seems over the top.

The server just uses plain old html, php scripts used for databases and charting, and mysql.

I guess I don't need filepro, pgsql,swf,qtdom, xml etc.?