# # Build Phantom Application Server PHP 5 Engine # (c)2003-2005 Marek Uher # # # Visit: # # http://www.php.net/ # # for more info. # # # Load environment for building PHP 5 for Phantom Application Server # source ${HOME}/env/build.env source ${HOME}/env/java.env source ${HOME}/env/tomcat.env source ${HOME}/env/oracle_${PHANTOM_ORACLE_VERSION}.env # # Build Phantom PHP 5 # TARGET_HOME=${PHANTOM_HOME} TARGET_PREFIX=${TARGET_HOME} TARGET_JAVA=${JAVA_HOME} TARGET_TOMCAT=${TOMCAT_HOME} TARGET_ORACLE=${ORACLE_HOME} TARGET_PHP=${TARGET_PREFIX}/extensions/php export TARGET_ORACLE make distclean ./configure \ --prefix=${TARGET_PHP} \ --sysconfdir=${TARGET_PHP}/conf \ --with-config-file-path=${TARGET_PHP}/conf \ --with-apxs2=$TARGET_PREFIX/sbin/apxs \ --disable-debug \ --disable-versioning \ --enable-bcmath \ --enable-c9x-inline \ --enable-calendar \ --enable-ctype \ --enable-dba=shared \ --enable-dbase \ --enable-dbx \ --enable-dio \ --enable-discard-path \ --enable-embedded-mysqli \ --enable-exif \ --enable-fast-install \ --enable-filepro \ --enable-force-cgi-redirect \ --enable-ftp \ --enable-gd-native-ttf \ --enable-gd-jis-conv \ --enable-inline-optimization \ --enable-libgcc \ --enable-magic-quotes \ --enable-mbregex \ --enable-mbstr-enc-trans \ --enable-mbstring \ --enable-memory-limit \ --enable-pcntl \ --enable-pic \ --enable-sablot-errors-descriptive \ --enable-safe-mode \ --enable-shared \ --enable-shmop \ --enable-sigchild \ --enable-soap \ --enable-sockets \ --enable-sqlite-utf8 \ --enable-static \ --enable-sysvmsg \ --enable-sysvsem \ --enable-sysvshm \ --enable-track-vars \ --enable-trans-sid \ --enable-ucd-snmp-hack \ --enable-wddx \ --enable-xslt \ --enable-yp \ --enable-zend-multibyte \ --with-bz2=shared \ --with-curl=shared \ --with-curlwrappers \ --with-db \ --with-db4=shared \ --with-dom \ --with-dom-exslt \ --with-dom-xslt \ --with-expat-dir=/usr \ --with-fam \ --with-flatfile \ --with-freetype-dir=/usr \ --with-gd=shared \ --with-gdbm=shared \ --with-gettext=shared \ --with-gmp=shared \ --with-hyperwave=shared \ --with-iconv=shared \ --with-imap=shared \ --with-imap-ssl \ --with-inifile \ --with-iodbc=shared \ --with-java=shared,${TARGET_JAVA} \ --with-jpeg-dir=/usr \ --with-kerberos=shared,/usr \ --with-ldap=shared \ --with-libedit=shared \ --with-mcal=shared,/usr \ --with-mcrypt=shared \ --with-mhash=shared \ --with-ming=shared \ --with-mm=shared \ --with-mnogosearch=shared,/usr \ --with-mod_charset \ --with-mysql=shared \ --with-mysql=shared \ --with-ncurses=shared \ --with-oci8=shared,${TARGET_ORACLE} \ --with-oracle=shared,${TARGET_ORACLE} \ --with-openssl \ --with-pgsql=shared \ --with-pic \ --with-png-dir=/usr \ --with-pspell=shared,/usr \ --with-readline=shared \ --with-regex=php \ --with-snmp=shared \ --with-t1lib \ --with-tidy=/usr \ --with-tiff-dir=/usr \ --with-tsrm-pthreads \ --with-ttf \ --with-xml=/usr \ --with-xmlrpc \ --with-xpm-dir=/usr/X11R6 \ --with-xsl \ --with-xslt-sablot \ --with-zlib=shared make clean make -j2 # # Disabled options # # --with-pcre-regex=/usr \ # ??? --with-recode=shared \ # --enable-maintainer-zts \ # --with-crack=/usr \ # --with-cyrus \ # --with-zip=/usr \ # --with-servlet \ # --enable-fastcgi \ # --disable-path-info-check \ # --with-cpdflib \ # --with-qdbm \ # --with-ndbm \ # --with-db3 \ # --with-db2 \ # --with-dbm \ # --with-cdb \ # --with-hwapi \ # --with-ircg \ # --with-ircg-config= \ # --with-ldap-sasl=shared,/usr \ # /* End of file: BUILD.php */