Skip to content

Instantly share code, notes, and snippets.

View mapesa's full-sized avatar

Thomas Mapesa mapesa

  • IGAD
  • Nairobi, Kenya
View GitHub Profile
@mapesa
mapesa / gist:9d165eef751019ca715567f5923d8056
Created June 22, 2016 08:48
Running PHP 7.0 and Apache2 mpm-prefork on Mint 17
The default apache2 from the Mint 17 repos (ubuntu-trusty) uses the recommended and much faster `mpm-event`.
Trying to install PHP7.0 on this repo throw the following error:
Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP
Apache won't restart.
`mpm-prefork` will work with the *unthreadsafe* PHP7.0