Skip to content

Configuration (0.2.0)

Ricardo Lopes edited this page Jan 16, 2015 · 1 revision

Configuration

  • The extension requires zephir-lang, and at this time, binaries are not available, so you must compile the extension yourself.

  • download and install Zephir-lang, the instructions are available in their github page and here.

  • clone this repository and cd htmlfilter && zephir build (if you run into any trouble, drop me a message)

  • After the previous step being successfully executed, add htmlfilter.ini into php mod-available directory (for ubuntu is usually located in etc/php5/mods-available) the file should be something like this:

extension=htmlfilter.so
  • create symbolic links from htmlfilter.ini for both webserver and cli conf.d/ .In ubuntu usually, and depending on your server, they are located in:
/etc/php5/fpm/conf.d/
/etc/php5/cli/conf.d/
/etc/php5/apache2/conf.d/
  • restart your webserver. if you run:
php -m | grep htmlfilter

you should be able to see it.

  • you are set and good to go!

Clone this wiki locally