Skip to content

Commit 6f5ecc9

Browse files
committed
Fix owner for php install dir
1 parent 19d2648 commit 6f5ecc9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

install-extensions.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ install_xhprof() {
2222
has_extension "$ext" && return 0
2323
# https://github.com/shivammathur/setup-php/issues/905
2424
sudo rm -rf /tmp/pear # shivammathur's leftovers...
25+
# Allow installing to /usr/local/php
26+
sudo chown -R "$(id -un):" /usr/local/php/
2527
pecl install "$ext-$version"
2628
}
2729

0 commit comments

Comments
 (0)