This APT repo contains Apache2, OpenSSL and PHP7.0 packages for Debian stretch built with FD_SETSIZE / --enable-fd-setsize set to 2048, rather than the default of 1024.
The following commands all assume you are
sudo -i first.
To use the packages in this repo first ensure you have
apt install apt-transport-https
Add the public GPG key (ID:
EB612F9FE81381F8F3E58874495739F6CAA6F12D) to your machine:
wget -O - https://deb.webarch.net/pub.gpg | apt-key add -
echo "deb https://deb.webarch.net/ stretch main" > /etc/apt/sources.list.d/php.list
Finally update your cache and packages:
apt update apt dist-upgrade
To include this repo using an Ansible task you can use this code:
--- - name: Webarch PHP GPG key present apt_key: id: EB612F9FE81381F8F3E58874495739F6CAA6F12D url: https://deb.webarch.net/pub.gpg state: present - name: Webarch PHP repo available apt_repository: filename: php repo: "deb https://deb.webarch.net/ stretch main" state: present
The code that was used to build the Apache2, OpenSSL and PHP7.0 packages for Debian stretch and this APT repo, is available on our GitLab server at git.coop.