Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite lib/pecl #341

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
5 changes: 0 additions & 5 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ source $basedir/common.sh
source $basedir/../lib/package
source $basedir/../lib/composer
source $basedir/../lib/datadog
source $basedir/../lib/scout
source $basedir/../lib/newrelic
source $basedir/../lib/apt
source $basedir/../lib/pecl
Expand Down Expand Up @@ -312,10 +311,6 @@ if [ -f "$BUILD_DIR/composer.json" ] && package_datadog_enabled; then
install_datadog "${DATADOG_TRACER_VERSION}" "${DATADOG_APPSEC_VERSION}"
fi

if [ -f "$BUILD_DIR/composer.json" ] && package_scout_enabled; then
install_scout "${SCOUT_APM_VERSION}"
fi

if [ -f "$BUILD_DIR/composer.json" ] && package_newrelic_enabled; then
status "New Relic usage detected, installing Agent and PHP extension"
LOG_FILES+=( "/app/vendor/newrelic/daemon.log" "/app/vendor/newrelic/agent.log" )
Expand Down
2 changes: 1 addition & 1 deletion lib/composer
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function install_composer_deps() {
echo "Installing PHP extension: ${ext}" | indent
fetch_package "${PHP_BASE_URL}" "${extension_package_path}" "/app/vendor/php"
else
install_pecl_extension "${ext}" "${ext_version}" "${CACHE_DIR}"
php::pecl::install_extension "${ext}" "${ext_version}" "${CACHE_DIR}"
fi
done
fi
Expand Down
Loading