Last active
December 12, 2015 00:18
-
-
Save uran1980/4682707 to your computer and use it in GitHub Desktop.
PHP :: Install php-sundown extension for php
This file contains 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
git clone https://github.com/chobie/php-sundown.git /tmp/php-sundown --recursive | |
cd /tmp/php-sundown | |
phpize && ./configure && make && make install | |
# please add following line to your php.ini | |
# extension=sundown.so |
If you’re using OSX El Capitan, then you’ll need to perform an additional step before running the above commands — you must turn off El Capitan’s Rootless feature.
I was getting the following error when I ran sudo make install
:
Installing shared extensions: /usr/lib/php/extensions/no-debug-non-zts-20121212/
cp: /usr/lib/php/extensions/no-debug-non-zts-20121212/#INST@57359#: Operation not permitted
make: *** [install-modules] Error 1
Turning off the rootless feature allowed me to cleanly install this extension.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks that was very useful ! Quick note : you need to run the make install as root so you might need to add sudo before "make install" if you run these commands as a regular user