On 05 Aug 2004, at 00:25, Tomas Kuliavas wrote:
On 2004-07-28 admin upgraded php. He or she did two strange things:
1. admin created totally useless php installation. php contains dozens of modules. --disable-all option disables all of them. Even default ones. You have Swiss knife and using it only as a fork.

Actually, what happened was the FreeBSD ports maintainer for php decide to break everyone's php installs if they upgraded by adding a --disable-all flag to the config screen. Why they decide to do this is beyond me, but anyone using ports and updating php will be reamed.

SquirrelMail requires session (--enable-session) and pcre (--with-pcre-regex) support in php. Enable these options in your php install or remove --disable-all option.

I manually compiled php and all is fine.

You can also add gettext and mbstring support. SquirrelMail might work without these modules, but translations work faster when gettext support is present in php and one translation does not work without mbstring support.

./configure --enable-versioning --enable-memory-limit --with-layout=GNU --with-zlib-dir=/usr --disable-all --with-regex=php --with-pear --enable-bcmath --with-bz2=/usr --enable-calendar --enable-ctype --with-curl=/usr/local --with-dom=/usr/local --with-dom-xslt=/usr/local --with-dom-exslt=/usr/local --enable-ftp --with-gd --enable-gd-native-ttf --with-freetype-dir=/usr/local --with-t1lib=/usr/local --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-xpm-dir=/usr/X11R6 --with-gettext=/usr/local --with-hyperwave --with-iconv-dir=/usr/local --with-iconv=/usr/local --enable-mbstring --with-mcal=/usr/local --with-mcrypt=/usr/local --with-mhash=/usr/local --with-mime-magic=/usr/share/misc/magic.mime --with-ming=/usr/local --with-mysql=/usr/local --with-ldap=/usr/local --with-openssl-dir=/usr/local --with-openssl=/usr/local --enable-overload --with-pcre-regex=yes --with-pdflib=/usr/local --enable-posix --with-pspell=/usr/local --enable-session --enable-sockets --enable-sysvsem --enable-sysvshm --enable-tokenizer --enable-wddx --with-expat-dir=/usr/local --enable-xml --with-xmlrpc --enable-xslt --with-xslt-sablot=/usr/local --enable-yp --with-zip=/usr/local --with-zlib=yes --with-apxs=/usr/local/sbin/apxs --with-imap=/usr/local --with-imap-ssl=/usr/local --x-libraries=/usr/X11R6/lib --x-includes=/usr/X11R6/include --prefix=/usr/local i386-portbld-freebsd5.1

took care of everything :)


--
It was intended that when Newspeak had been adopted once and for all and Oldspeak forgotten, a heretical thought...should be literally unthinkable, at least so far as thought is dependent on words.

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Reply via email to