Added 50-php in root/etc/cont-init.d to make sure to have a defined set of PHP binaries in case the (Alpine) package maintainer(s) changed the binary names.
This commit is contained in:
parent
b2fa06a9bf
commit
5b758cda26
11
root/etc/cont-init.d/50-php
Normal file
11
root/etc/cont-init.d/50-php
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#!/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
|
||||||
Loading…
x
Reference in New Issue
Block a user