Created
November 16, 2012 20:04
-
-
Save Swop/4090417 to your computer and use it in GitHub Desktop.
Install php sundown shared library
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
#!/bin/bash | |
apt-get install php5-dev rake | |
cd /tmp | |
git clone https://github.com/chobie/php-sundown.git php-sundown -b development | |
cd php-sundown | |
# this command will fetch submodule and copy neccesally files to src dir. and compile it. | |
rake submodule compile | |
sudo rake install | |
# please add following line to your php.ini | |
echo extension=sundown.so > /etc/php5/conf.d/sundown.ini | |
/etc/init.d/apache2 restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment