Skip to content

Commit 03c8e60

Browse files
committed
Make root pearrc read only.
1 parent 7c039d3 commit 03c8e60

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ installed version of PHP is the one used by the web server.
115115

116116
wget http://pear.php.net/go-pear.phar
117117
export PHP_PEAR_PHP_BIN=/usr/local/bin/php
118+
sudo echo "#PEAR_Config 0.9" > /root/.pearrc
119+
sudo echo "a:0:{}" >> /root/.pearrc
120+
sudo chmod 400 /root/.pearrc
118121
sudo php go-pear.phar
119122

120123
When asked to adjust the configuration:

0 commit comments

Comments
 (0)