1
0
mirror of https://github.com/x86dev/docker-ttrss synced 2025-12-13 01:46:00 +00:00

Use PHP7.

This commit is contained in:
x86dev
2017-10-05 12:27:55 +02:00
parent 4a6bfa584b
commit 79a41e67d5
3 changed files with 9 additions and 8 deletions

View File

@@ -2,10 +2,9 @@
# Make sure to have a defined set of PHP binaries,
# regardless of how the package maintainer(s) named those.
if [ ! -f /usr/bin/php ]; then
ln -s /usr/bin/php5 /usr/bin/php
fi
if [ ! -f /usr/bin/php-fpm ]; then
ln -s /usr/bin/php-fpm5 /usr/bin/php-fpm
fi
rm /usr/bin/php
ln -s /usr/bin/php7 /usr/bin/php
rm /usr/sbin/php-fpm
ln -s /usr/sbin/php-fpm7 /usr/sbin/php-fpm