1
0
mirror of https://github.com/x86dev/docker-ttrss synced 2025-12-13 01:46:00 +00:00
Files
docker-ttrss/root/etc/cont-init.d/50-php

12 lines
293 B
Plaintext

#!/usr/bin/with-contenv sh
# 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