We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38bad57 commit 1e74401Copy full SHA for 1e74401
bin/compile
@@ -268,7 +268,12 @@ fi
268
mkdir -p "conf"
269
cp "$basedir/util/autotune.php" "conf/autotune.php"
270
cp "$basedir/../conf/nginx/base.conf.erb" "conf/nginx.conf.erb"
271
-cp "$basedir/../conf/php/php-fpm.conf" "/app/vendor/php/etc/php-fpm.conf"
+# If PHP 7.3, custom config file to improve logging
272
+if [ "$(php_api_version)" = "20180731" ] ; then
273
+ cp "$basedir/../conf/php/php-fpm-73.conf" "/app/vendor/php/etc/php-fpm.conf"
274
+else
275
+ cp "$basedir/../conf/php/php-fpm.conf" "/app/vendor/php/etc/php-fpm.conf"
276
+fi
277
cp "$basedir/../conf/php/php.ini" "/app/vendor/php/etc/php.ini"
278
279
mkdir -p /app/vendor/php/etc/fpm.d
0 commit comments