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
phpbrew [2016/05/25 16:44] – [Configure php.ini of current php Version] adminphpbrew [2021/12/06 22:30] (current) – removed admin
Line 1: Line 1:
-====== PHPBrew ====== 
- 
- 
-===== Compile a PHP Version ===== 
- 
- 
-<code> 
-sudo phpbrew install 5.4.38 +apxs2 +bcmath +bz2 +calendar -cgi +cli +ctype +curl +dba +debug +dom +dtrace +editline -embed +exif +fileinfo +filter -fpm +ftp -gcov +gd +gettext +gmp +hash +iconv +icu +imap +inifile +inline +intl +ipc +ipv6 +json +kerberos +libgcc +mbregex +mbstring +mcrypt +mhash +mysql +opcache +openssl +pcntl +pcre +pdo +pgsql +phar +phpdbg +posix +readline +session +soap +sockets +sqlite +static +tidy +tokenizer +wddx +xml +xml_all +xmlrpc +zip +zlib -- --with-mysqli 
-</code> 
- 
-===== Configure php.ini of current php Version ===== 
- 
-<code> 
-phpbrew config 
-</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> 
- 
  
phpbrew.1464187472.txt.gz · Last modified: 2016/05/25 16:44 by admin