Fix setting xdebug.mode

This commit is contained in:
Shivam Mathur
2020-12-17 20:49:20 +05:30
parent 8862a73fdd
commit d74064b67a
9 changed files with 21 additions and 25 deletions

View File

@ -278,10 +278,10 @@ setup_php() {
pecl_file="$scan_dir"/99-pecl.ini
mapfile -t ini_file < <(sudo find "$ini_dir/.." -name "php.ini" -exec readlink -m {} +)
link_pecl_file
configure_php
sudo rm -rf /usr/local/bin/phpunit >/dev/null 2>&1
sudo chmod 777 "${ini_file[@]}" "$pecl_file" "${tool_path_dir:?}"
sudo cp "$dist"/../src/configs/*.json "$RUNNER_TOOL_CACHE/"
[[ "$version" =~ ${jit_versions:?} ]] && echo -e "opcache.enable=1\nopcache.jit_buffer_size=256M\nopcache.jit=1235" | sudo tee -a "${ini_file[@]}" >/dev/null 2>&1
add_log "${tick:?}" "PHP" "$status PHP $semver"
}