First commit

This commit is contained in:
eroncero
2025-07-18 12:00:37 +02:00
commit b987cf6030
10 changed files with 1161 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#!/bin/sh
# Start each version listed in PHP_VERSIONS
for version in $PHP_VERSIONS; do
echo "Starting php$version-fpm..."
service "php$version-fpm" start
done
# Check if BUILDTIME_PHP_VER_INST is defined and not already in PHP_VERSIONS
if [ -n "$BUILDTIME_PHP_VER_INST" ]; then
case " $PHP_VERSIONS " in
*" $BUILDTIME_PHP_VER_INST "*)
echo "BUILDTIME_PHP_VER_INST ($BUILDTIME_PHP_VER_INST) already started."
;;
*)
echo "Starting BUILDTIME_PHP_VER_INST (php$BUILDTIME_PHP_VER_INST-fpm)..."
service "php$BUILDTIME_PHP_VER_INST-fpm" start
;;
esac
fi