php5-ice Needs Update

Michael Gmelin freebsd at
Sun Jun 2 23:53:19 UTC 2013

On Wed, 22 May 2013 12:42:34 -0700 (PDT)
Jaret Bartsch <jaretbartsch at> wrote:

> Hi there. php5-ice does not work with php 5.4. Could someone update
> this to work with 5.4? Thanks.
> Regards,
> Jaret
> _______________________________________________
> freebsd-ports at mailing list
> To unsubscribe, send any mail to
> "freebsd-ports-unsubscribe at"

Hi Jaret,

I finished updating devel/ice and devel/py-ice and filed PRs for them. I
also completely overhauled devel/php5-ice over the weekend and requested
maintainership for it. All files should go into the right places now (so
you can include "Ice.php" without messing with your php.ini) and you can
optionally activate PHP namespace support.

I did very limited testing though, since I'm currently not involved in
any project using IcePHP, so you *might* run into issues. Based on my
previous experience with IcePHP from about two years ago, I would
recommend not to use it with mod_php - at least if you're using mod_ssl
and IceSSL at the same time. I would prefer using PHP CGI or FPM
instead (we had pretty good results using nginx+php fpm).

Also note, that Ice 3.5.0 brings a few incompatible changes, so make
sure to read pkg-message from devel/ice and check the ZeroC's release

The PRs haven't been committed yet, so you'll have to apply the patches
to the ports tree yourself.

PRs: devel/ice devel/py-ice devel/php5-ice

Direct link to patches (since the PR system doesn't like UTF8):

Patches to the ports tree are applied like this:

cd /usr/ports/devel/ice
patch -p0 < /path/to/ice_350_20130602.patch

cd /usr/ports/devel/py-ice
patch -p0 < /path/to/py_ice_350_20130602.patch

cd /usr/ports/devel/php5-ice
patch -p0 < /path/to/php5_ice_350_20130602.patch

Then run

portmaster devel/php5-ice

to install the new version (or portupgrade or whatever you're using).

In case you're not planning to install devel/py-ice explicitly you can
just ignore that patch.


Michael Gmelin

More information about the freebsd-ports mailing list