Skip to content

Instantly share code, notes, and snippets.

@Swop
Created November 16, 2012 20:04
Show Gist options
  • Save Swop/4090417 to your computer and use it in GitHub Desktop.
Save Swop/4090417 to your computer and use it in GitHub Desktop.
Install php sundown shared library
#!/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