debian sarge的PHP4的编译参数

debian中默认的PHP4编译参数,太长了,导致MAPSERVER的MAPSCRIPT无法编译。

'./configure' '--prefix=/usr' '--with-apxs2=/usr/bin/apxs2' '--with-regex=system' '--with-config-file-path=/etc/php4/apache2' '--disable-rpath' '--enable-memory-limit' '--disable-debug' '--with-layout=GNU' '--with-pear=/usr/share/php' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype' '--with-db4' '--with-iconv' '--enable-exif' '--enable-filepro' '--enable-ftp' '--with-gettext' '--enable-mbstring' '--with-pcre-regex=/usr' '--enable-shmop' '--enable-sockets' '--enable-wddx' '--disable-xml' '--with-expat-dir=/usr' '--with-xmlrpc' '--enable-yp' '--with-zlib' '--with-pgsql' '--with-kerberos=/usr' '--with-openssl=/usr' '--enable-dbx' '--with-mime-magic=/usr/share/misc/file/magic.mime' '--with-exec-dir=/usr/lib/php4/libexec' '--disable-static' '--with-curl=shared,/usr' '--with-dom=shared,/usr' '--with-dom-xslt=shared,/usr' '--with-dom-exslt=shared,/usr' '--with-zlib-dir=/usr' '--with-gd=shared,/usr' '--enable-gd-native-ttf' '--with-jpeg-dir=shared,/usr' '--with-xpm-dir=shared,/usr/X11R6' '--with-png-dir=shared,/usr' '--with-freetype-dir=shared,/usr' '--with-imap=shared,/usr' '--with-imap-ssl' '--with-ldap=shared,/usr' '--with-mcal=shared,/usr' '--with-mhash=shared,/usr' '--without-mm' '--with-mysql=shared,/usr' '--with-unixODBC=shared,/usr' '--with-recode=shared,/usr' '--enable-xslt=shared' '--with-xslt-sablot=shared,/usr' '--with-snmp=shared,/usr' '--with-ttf=shared,/usr' '--with-t1lib=shared,/usr' '--with-gd=shared,/usr' '--with-mysql=shared,/usr'


已发布

分类

来自

标签:

评论

《“debian sarge的PHP4的编译参数”》 有 1 条评论

  1. wlx 的头像
    wlx

    cgi + fcgi的编译参数,最后的with-jpeg-dir是没有的,但这样就GD就不支持JPG文件了。

    ‘./configure’ ‘–prefix=/usr’ ‘–with-regex=system’ ‘–enable-force-cgi-redirect’ ‘–with-config-file-path=/etc/php4/cgi’ ‘–disable-rpath’ ‘–enable-fastcgi’ ‘–enable-memory-limit’ ‘–disable-debug’ ‘–with-layout=GNU’ ‘–with-pear=/usr/share/php’ ‘–enable-calendar’ ‘–enable-sysvsem’ ‘–enable-sysvshm’ ‘–enable-sysvmsg’ ‘–enable-track-vars’ ‘–enable-trans-sid’ ‘–enable-bcmath’ ‘–with-bz2’ ‘–enable-ctype’ ‘–with-db4’ ‘–with-iconv’ ‘–enable-exif’ ‘–enable-filepro’ ‘–enable-ftp’ ‘–with-gettext’ ‘–enable-mbstring’ ‘–with-pcre-regex=/usr’ ‘–enable-shmop’ ‘–enable-sockets’ ‘–enable-wddx’ ‘–disable-xml’ ‘–with-expat-dir=/usr’ ‘–with-xmlrpc’ ‘–enable-yp’ ‘–with-zlib’ ‘–with-pgsql’ ‘–with-kerberos=/usr’ ‘–with-openssl=/usr’ ‘–enable-dbx’ ‘–with-mime-magic=/usr/share/misc/file/magic.mime’ ‘–with-exec-dir=/usr/lib/php4/libexec’ ‘–without-mm’ ‘–with-mysql=/usr’ ‘–without-sybase-ct’ ‘–with-gd’ ‘–with-mysql-sock=/var/run/mysqld/mysqld.sock’ ‘–with-jpeg-dir=/usr’

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注