This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
phpbrew [2016/05/25 14:32] – created admin | phpbrew [2016/05/25 14:50] – [Compile a PHP Version] admin | ||
---|---|---|---|
Line 2: | Line 2: | ||
- | Compile a PHP Version: | + | ===== Compile a PHP Version |
< | < | ||
Line 8: | Line 9: | ||
</ | </ | ||
+ | |||
+ | Maybe its a good idea to specify the socket: | ||
+ | |||
+ | < | ||
+ | | ||
+ | </ | ||
===== Configure php.ini of current php Version ===== | ===== Configure php.ini of current php Version ===== | ||
Line 13: | Line 20: | ||
phpbrew config | phpbrew config | ||
</ | </ | ||
+ | |||
+ | Make sure you have set " | ||
+ | |||
+ | < | ||
+ | mysqli.default_socket = / | ||
+ | </ | ||
+ | |||
+ | ===== Switch to a specific version ===== | ||
+ | |||
+ | Switch the php cli: | ||
+ | |||
+ | < | ||
+ | phpbrew switch php-5.4.38 | ||
+ | </ | ||
+ | |||
+ | And don't forget to add the module to your enbabled Mods: | ||
+ | |||
+ | < | ||
+ | LoadModule php5_module / | ||
+ | </ | ||
+ | |||
+ |