Skip to content

Instantly share code, notes, and snippets.

@TysonAndre
Created February 10, 2018 19:39
Show Gist options
  • Save TysonAndre/b7be05ab3e10f668b49afdde4a83764e to your computer and use it in GitHub Desktop.
Save TysonAndre/b7be05ab3e10f668b49afdde4a83764e to your computer and use it in GitHub Desktop.
#!/bin/bash
# invoke this inside a downloaded php 7.1.14/7.1.x directory(https://secure.php.net/downloads.php#v7.1.14)
# Build tidy according to the instructions in https://github.com/htacg/tidy-html5/blob/next/README/BUILD.md with an installation directory of $HOME/tidy-5.6.0-install
# You may have to install some dependencies such as pcre. `--disable-all` minimizes the number of dependencies
TS="";
#TS="--enable-maintainer-zts";
DEBUG="";
#DEBUG="--enable-debug --without-pcre-valgrind";
#./buildconf --force
./configure \
--prefix=/$HOME/php-7.1.14-tidy-nts-install \
--disable-all \
--with-tidy=$HOME/tidy-5.6.0-install
make -j9
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment