php u8t canonical,configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing

在OS X Yosemite 10.10.5上,博主成功手动升级了PHP从5.6.1到5.6.13,通过使用Homebrew安装imap-uw并配置了一系列参数,包括启用各种扩展和优化选项。经过configure和make步骤,升级过程顺利完成。
摘要由CSDN通过智能技术生成

Old threads never die ...

I'm on OSX Yosemite 10.10.5, and have installed my own php, currently 5.6.1, and want to upgrade to 5.6.13 - came across that same error just following imap.

Saw this thread, and ran brew install map-uw then ran configure based on my existing phpinfo output.

./configure \

--prefix=/usr/local/php5 \

--with-apxs2=/usr/sbin/apxs \

--with-config-file-scan-dir=/usr/local/php5/php.d \

--with-openssl=/usr \

--with-zlib=/usr \

--with-zlib-dir=/usr \

--with-gd \

--with-ldap \

--with-xmlrpc \

--enable-exif \

--enable-soap \

--enable-wddx \

--enable-ftp \

--enable-sockets \

--with-bz2=/usr \

--enable-zip \

--enable-shmop \

--enable-sysvsem \

--enable-sysvshm \

--enable-sysvmsg \

--enable-mbstring \

--enable-bcmath \

--enable-calendar \

--with-mhash \

--enable-fpm \

--with-mysql=mysqlnd \

--with-mysqli=mysqlnd \

--with-pdo-mysql=mysqlnd \

--enable-pcntl \

--enable-dtrace \

--enable-opcache \

--disable-phpdbg \

--with-icu-dir=/usr/local/php5 \

--with-mssql=shared,/usr/local/php5 \

--with-pdo-dblib=shared,/usr/local/php5 \

--with-libxml-dir=shared,/usr/local/php5 \

--with-xsl=shared,/usr/local/php5 \

--with-imap=shared,/usr/local/Cellar/imap-uw/2007f \

--with-kerberos=/usr \

--with-imap-ssl=/usr \

--with-gettext=/usr/local/php5 \

--with-curl=shared,/usr/local/php5 \

--with-png-dir=/usr/local/php5 \

--with-jpeg-dir=/usr/local/php5 \

--enable-gd-native-ttf \

--with-freetype-dir=/usr/local/php5 \

--with-pgsql=shared,/usr/local/php5 \

--with-pdo-pgsql=shared,/usr/local/php5 \

--with-mcrypt=shared,/usr/local/php5 \

--with-tidy=/usr/local/php5 \

--with-gmp=shared,/usr/local/php5 \

--with-readline=shared,/usr/local/php5

Then make. And it seems to be working fine.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值