Created
November 5, 2013 19:34
-
-
Save eric1234/7324795 to your computer and use it in GitHub Desktop.
Install phpsh on Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://gist.github.com/eric1234/7324795 | |
# Make sure git is installed | |
apt-get install -y git | |
# Remove functions that phpsh needs from config. | |
sed -i 's/pcntl_signal,//g' /etc/php5/cli/php.ini | |
sed -i 's/pcntl_fork,//g' /etc/php5/cli/php.ini | |
sed -i 's/pcntl_wait,//g' /etc/php5/cli/php.ini | |
# Install source code | |
cd /usr/local/src | |
git clone https://github.com/uncreative/phpsh.git | |
# Build and install | |
cd phpsh | |
python setup.py build | |
python setup.py install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment