Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tigefa4u/b7262dc96ff7330cbd3d2098b3b306d8 to your computer and use it in GitHub Desktop.
Save tigefa4u/b7262dc96ff7330cbd3d2098b3b306d8 to your computer and use it in GitHub Desktop.
Mint/Ubuntu - install php70 with brew
Cannot find /usr/sbin/apxs:
$ sudo apt-get install apache2-dev;
$ sudo ln -s /usr/bin/apxs /usr/sbin/apxs;
$ sudo ln -s /usr/bin/apxs2 /usr/sbin/apxs2;
configure: error: Cannot find sys/sdt.h which is required for DTrace support:
$ sudo apt-get install systemtap-sdt-dev;
configure: error: Cannot find ldap libraries in /usr/lib:
$ sudo ln -s /usr/lib/x86_64-linux-gnu/libldap* /usr/lib/
$ sudo ln -s /usr/lib/x86_64-linux-gnu/liblber* /usr/lib/;
configure: error: sasl.h not found!
$ sudo apt-get install libsasl2-dev
configure: error: Please reinstall libedit - I cannot find readline.h:
$ sudo apt-get install libedit-dev;
Sadly mine now dies at
[preparing module `php7' in /etc/apache2/mods-available/php7.load]
Died at /usr/sbin/apxs line 572.
make: *** [install-sapi] Error 13
$ brew install homebrew/php/php70;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment