Download Ice 3.7 for PHP

Linux Repositories

Amazon Linux 2 (LTS)

Configure Yum repository

x86_64 | aarch64
$ sudo yum install https://download.zeroc.com/ice/3.7/amzn2/ice-repo-3.7.amzn2.noarch.rpm

Install Ice for PHP

$ sudo dnf install php-ice

Install Slice compilers

$ sudo dnf install ice-compilers

Debian 10 "Buster"

Configure APT repository

amd64 | arm64 | armhf
$ sudo mkdir -p /etc/apt/keyrings
$ sudo curl -fsSL https://download.zeroc.com/GPG-KEY-zeroc-release-B6391CB2CFBA643D | sudo gpg --dearmor -o /etc/apt/keyrings/zeroc.gpg
$ echo \
  "deb [signed-by=/etc/apt/keyrings/zeroc.gpg] https://download.zeroc.com/ice/3.7/debian10 stable main" \
  | sudo tee /etc/apt/sources.list.d/zeroc-ice-3.7.list
$ sudo apt-get update

Install Ice for PHP

$ sudo apt-get install php-zeroc-ice

Install Slice compilers

$ sudo apt-get install zeroc-ice-compilers

Debian 9 "Stretch"

Configure APT repository

amd64 | arm64 | armhf
$ sudo mkdir -p /etc/apt/keyrings
$ sudo curl -fsSL https://download.zeroc.com/GPG-KEY-zeroc-release-B6391CB2CFBA643D | sudo gpg --dearmor -o /etc/apt/keyrings/zeroc.gpg
$ echo \
  "deb [signed-by=/etc/apt/keyrings/zeroc.gpg] https://download.zeroc.com/ice/3.7/debian9 stable main" \
  | sudo tee /etc/apt/sources.list.d/zeroc-ice-3.7.list
$ sudo apt-get update

Install Ice for PHP

$ sudo apt-get install php-zeroc-ice

Install Slice compilers

$ sudo apt-get install zeroc-ice-compilers

Red Hat Enterprise Linux 9

Configure Yum repository

x86_64
$ sudo yum install https://download.zeroc.com/ice/3.7/el9/ice-repo-3.7.el9.noarch.rpm

Install Ice for PHP

$ sudo dnf install php-ice

Install Slice compilers

$ sudo dnf install ice-compilers

Red Hat Enterprise Linux 8

Configure Yum repository

x86_64 | aarch64
$ sudo dnf install https://download.zeroc.com/ice/3.7/el8/ice-repo-3.7.el8.noarch.rpm

Install Ice for PHP

$ sudo dnf install php-ice

Install Slice compilers

$ sudo dnf install ice-compilers

Red Hat Enterprise Linux 7

Configure Yum repository

x86_64 | aarch64
$ sudo yum install https://download.zeroc.com/ice/3.7/el7/ice-repo-3.7.el7.noarch.rpm

Install Ice for PHP

$ sudo yum install php-ice

Install Slice compilers

$ sudo yum install ice-compilers

SUSE Linux Enterprise Server 12

Configure Zypper repository

x86_64
$ wget https://download.zeroc.com/ice/3.7/sles12/zeroc-ice3.7.repo
$ sudo zypper addrepo zeroc-ice3.7.repo
$ sudo rpm --import https://download.zeroc.com/GPG-KEY-zeroc-release-B6391CB2CFBA643D

Install Ice for PHP

$ sudo zypper install php-ice

Install Slice compilers

$ sudo zypper install ice-compilers

Ubuntu 22.04 (Jammy Jellyfish)

Configure APT repository

amd64 | arm64 | armhf
$ sudo mkdir -p /etc/apt/keyrings
$ sudo curl -fsSL https://download.zeroc.com/GPG-KEY-zeroc-release-B6391CB2CFBA643D | sudo gpg --dearmor -o /etc/apt/keyrings/zeroc.gpg
$ echo \
  "deb [signed-by=/etc/apt/keyrings/zeroc.gpg] https://download.zeroc.com/ice/3.7/ubuntu22.04 stable main" \
  | sudo tee /etc/apt/sources.list.d/zeroc-ice-3.7.list
$ sudo apt-get update

Install Ice for PHP

$ sudo apt-get install php-zeroc-ice

Install Slice compilers

$ sudo apt-get install zeroc-ice-compilers

Ubuntu 20.04 (Focal Fossa)

Configure APT repository

amd64 | arm64 | armhf
$ sudo mkdir -p /etc/apt/keyrings
$ sudo curl -fsSL https://download.zeroc.com/GPG-KEY-zeroc-release-B6391CB2CFBA643D | sudo gpg --dearmor -o /etc/apt/keyrings/zeroc.gpg
$ echo \
  "deb [signed-by=/etc/apt/keyrings/zeroc.gpg] https://download.zeroc.com/ice/3.7/ubuntu20.04 stable main" \
  | sudo tee /etc/apt/sources.list.d/zeroc-ice-3.7.list
$ sudo apt-get update

Install Ice for PHP

$ sudo apt-get install php-zeroc-ice

Install Slice compilers

$ sudo apt-get install zeroc-ice-compilers

Ubuntu 18.04 (Bionic Beaver)

Configure APT repository

amd64 | arm64 | armhf
$ sudo mkdir -p /etc/apt/keyrings
$ sudo curl -fsSL https://download.zeroc.com/GPG-KEY-zeroc-release-B6391CB2CFBA643D | sudo gpg --dearmor -o /etc/apt/keyrings/zeroc.gpg
$ echo \
  "deb [signed-by=/etc/apt/keyrings/zeroc.gpg] https://download.zeroc.com/ice/3.7/ubuntu18.04 stable main" \
  | sudo tee /etc/apt/sources.list.d/zeroc-ice-3.7.list
$ sudo apt-get update

Install Ice for PHP

$ sudo apt-get install php-zeroc-ice

Install Slice compilers

$ sudo apt-get install zeroc-ice-compilers

Ubuntu 16.04 (Xenial Xerus)

Configure APT repository

amd64
$ sudo mkdir -p /etc/apt/keyrings
$ sudo curl -fsSL https://download.zeroc.com/GPG-KEY-zeroc-release-B6391CB2CFBA643D | sudo gpg --dearmor -o /etc/apt/keyrings/zeroc.gpg
$ echo \
  "deb [signed-by=/etc/apt/keyrings/zeroc.gpg] https://download.zeroc.com/ice/3.7/ubuntu16.04 stable main" \
  | sudo tee /etc/apt/sources.list.d/zeroc-ice-3.7.list
$ sudo apt-get update

Install Ice for PHP

$ sudo apt-get install php-zeroc-ice

Install Slice compilers

$ sudo apt-get install zeroc-ice-compilers

Yocto Meta Layer

Meta layer includes BitBake recipe for C++ and Python, IceBox, IceGrid, IcePatch2, IceStorm and Glacier2 services

$ git clone -b rocko git://github.com/zeroc-ice/meta-zeroc.git

Add meta layer to bblayers.conf

$ BBLAYERS ?= " \
  ...
  /path/to/meta-zeroc \
  "

Detailed instructions for installing Ice for Yocto are available here

Detailed instructions for installing Ice on Linux are available here

GPG Key

The Linux binary packages are signed with the following key:

Key: rsa4096/B6391CB2CFBA643D (2017-04-03) ZeroC, Inc. (release key 2) <support@zeroc.com>
Fingerprint: 4F9430C5FD102B029E8184CBB6391CB2CFBA643D

Homebrew

The zeroc-ice/tap/php-ice formula includes Ice for PHP.

$ brew install zeroc-ice/tap/php-ice

Detailed instructions for installing Ice on macOS are available here

Windows Installer

The Windows installer provides the Ice Slice compilers, Ice for PHP, all Ice services, and the IceGrid GUI.

It does not include SDKs for C++ or C#.

Download for Windows

Detailed instructions for installing Ice on Windows are available here

Next Steps

Once you've successfully installed Ice for PHP, head over to our ice-demos repository on GitHub:

$ git clone -b 3.7 https://github.com/zeroc-ice/ice-demos