Download Ice 3.7 for PHP
Linux Repositories
Amazon Linux 2 (LTS)
Configure Yum repository
sudo yum install https://zeroc.com/download/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
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv B6391CB2CFBA643D
sudo apt-add-repository "deb http://zeroc.com/download/ice/3.7/debian10 stable main"
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
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv B6391CB2CFBA643D
sudo apt-add-repository "deb http://zeroc.com/download/ice/3.7/debian9 stable main"
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
sudo yum install https://zeroc.com/download/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
sudo dnf install https://zeroc.com/download/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
sudo yum install https://zeroc.com/download/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
wget https://zeroc.com/download/ice/3.7/sles12/zeroc-ice3.7.repo
sudo zypper addrepo zeroc-ice3.7.repo
sudo rpm --import https://zeroc.com/download/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
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv B6391CB2CFBA643D
sudo apt-add-repository "deb http://zeroc.com/download/ice/3.7/ubuntu22.04 stable main"
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
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv B6391CB2CFBA643D
sudo apt-add-repository "deb http://zeroc.com/download/ice/3.7/ubuntu20.04 stable main"
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
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv B6391CB2CFBA643D
sudo apt-add-repository "deb http://zeroc.com/download/ice/3.7/ubuntu18.04 stable main"
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
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv B6391CB2CFBA643D
sudo apt-add-repository "deb http://zeroc.com/download/ice/3.7/ubuntu16.04 stable main"
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
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 WindowsDetailed 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