Skip to content

Instantly share code, notes, and snippets.

@yireo
Last active March 25, 2020 14:32
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 yireo/366531ef719f09017321 to your computer and use it in GitHub Desktop.
Save yireo/366531ef719f09017321 to your computer and use it in GitHub Desktop.
phpbrew installation on Fedora

Installation notes for phpbrew on Fedora

Pre-install

Getting the dependancies right:

$ yum install libxml2-devel openssl-devel curl-devel \
      bzip2-devel libmcrypt-devel readline-devel \
      libxslt-devel httpd-devel

Brewing PHP

Compiling a new PHP version:

$ phpbrew update
$ phpbrew known
$ phpbrew install 5.4.38 +default +mysql +pdo +mcrypt +pcre \
      +soap +sockets +xmlrpc +zlib +apxs2=/usr/bin/apxs +openssl=/usr \
      -- --with-libdir=lib64
@tdgroot
Copy link

tdgroot commented Dec 15, 2016

Works like a charm! What Fedora version are you on?

Thanks a lot for publishing your method, it saved me plenty of time :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment