PHPBrew

7490b4e3e9cb85a1f7dc0c8ea01a86e5?s=47 Yo-An Lin
November 12, 2013

 PHPBrew

Managing different PHP environment with PHPBrew.

7490b4e3e9cb85a1f7dc0c8ea01a86e5?s=128

Yo-An Lin

November 12, 2013
Tweet

Transcript

  1. PHPBrew

  2. Multiple PHP version management?

  3. Use PHPBREW!

  4. It’s on GitHub

  5. https://github.com/c

  6. 488 Stars

  7. 38 Watches

  8. 40 Forks

  9. 16 Contributors

  10. Get PHPBrew curl -O https://raw.github.com/c9s/phpbrew/master/phpbrew chmod +x phpbrew sudo cp

    phpbrew /usr/bin/phpbrew 01. 02. 03. 10
  11. List Known PHP(s) phpbrew known 11

  12. Get Your Own PHP phpbrew install php-5.5.4 12

  13. Plus Variants phpbrew install php-5.5.4 +dbs +default 13

  14. Extra configure options phpbrew install php-5.5.4 +dbs +default -- --with-png-dir=/opt/l

    14
  15. Switch php phpbrew use php-5.5.4 15

  16. List Installed PHP(s) phpbrew list Installed versions: php-5.4.12 (/Users/c9s/.phpbrew/php/php-5.4.12) +pdo+mysql+pgsql=/opt/local/lib/postgresql92

    + php-5.4.17 (/Users/c9s/.phpbrew/php/php-5.4.17) +pdo+mysql+pgsql=/opt/local/lib/postgresql92 + php-5.4.19 (/Users/c9s/.phpbrew/php/php-5.4.19) 01. 02. 03. 04. 05. 06. 07. 08. 16
  17. Extension Installing phpbrew ext install yaml phpbrew ext install xdebug

    phpbrew ext install opcache 01. 02. 03. 17
  18. Disable/Enable Extension phpbrew ext enable yaml phpbrew ext disable yaml

    01. 02. 18
  19. Forks Welcome!

  20. Forks Welcome • Feature requests • Bug report • Refactoring

    20
  21. Thank you very much. 21

  22. See more on GitHub