User Tools

Site Tools


phpbrew

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
phpbrew [2016/05/25 14:34] – [PHPBrew] adminphpbrew [2016/05/25 14:44] – [Configure php.ini of current php Version] admin
Line 14: Line 14:
 phpbrew config phpbrew config
 </code> </code>
 +
 +Make sure you have set "mysqli.default_socket" correctly.
 +
 +<code>
 +mysqli.default_socket = /var/run/mysqld/mysqld.sock
 +</code>
 +
 +===== Switch to a specific version =====
 +
 +Switch the php cli:
 +
 +<code>
 +phpbrew switch php-5.4.38
 +</code>
 +
 +And don't forget to add the module to your enbabled Mods:
 +
 +<code>
 +LoadModule php5_module /usr/lib/apache2/modules/libphp5.3.28.so
 +</code>
 +
 +