Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PHPBrew
Search
Yo-An Lin
November 12, 2013
Programming
2
300
PHPBrew
Managing different PHP environment with PHPBrew.
Yo-An Lin
November 12, 2013
Tweet
Share
More Decks by Yo-An Lin
See All by Yo-An Lin
BBGO 2022 - Modern Crypto Trading Bot
c9s
0
380
RequestGen
c9s
0
150
Callbackgen
c9s
0
90
Chainlink Ecosystem Overview
c9s
0
210
Go Crypto Trading
c9s
1
290
Virtual Machines
c9s
7
2.6k
The Voice of Code - COSCUP 2018
c9s
2
650
Building Popular Open Source Projects - COSCUP 2018
c9s
1
450
Vikube: Operate Kubernetes in Vim
c9s
0
520
Other Decks in Programming
See All in Programming
テストコード文化を0から作り、変化し続けた組織
kazatohiei
2
1.5k
RWC 2024 DICOM & ISO/IEC 2022
m_seki
0
210
Effective Signals in Angular 19+: Rules and Helpers @ngbe2024
manfredsteyer
PRO
0
130
今年一番支援させていただいたのは認証系サービスでした
satoshi256kbyte
1
250
Mermaid x AST x 生成AI = コードとドキュメントの完全同期への道
shibuyamizuho
0
160
良いユニットテストを書こう
mototakatsu
5
2k
Symfony Mapper Component
soyuka
2
730
Security_for_introducing_eBPF
kentatada
0
110
快速入門可觀測性
blueswen
0
340
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
170
Итераторы в Go 1.23: зачем они нужны, как использовать, и насколько они быстрые?
lamodatech
0
730
fs2-io を試してたらバグを見つけて直した話
chencmd
0
230
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Git: the NoSQL Database
bkeepers
PRO
427
64k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
Become a Pro
speakerdeck
PRO
26
5k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Why Our Code Smells
bkeepers
PRO
335
57k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Music & Morning Musume
bryan
46
6.2k
Code Reviewing Like a Champion
maltzj
520
39k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Transcript
PHPBrew
Multiple PHP version management?
Use PHPBREW!
It’s on GitHub
https://github.com/c
488 Stars
38 Watches
40 Forks
16 Contributors
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
List Known PHP(s) phpbrew known 11
Get Your Own PHP phpbrew install php-5.5.4 12
Plus Variants phpbrew install php-5.5.4 +dbs +default 13
Extra configure options phpbrew install php-5.5.4 +dbs +default -- --with-png-dir=/opt/l
14
Switch php phpbrew use php-5.5.4 15
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
Extension Installing phpbrew ext install yaml phpbrew ext install xdebug
phpbrew ext install opcache 01. 02. 03. 17
Disable/Enable Extension phpbrew ext enable yaml phpbrew ext disable yaml
01. 02. 18
Forks Welcome!
Forks Welcome • Feature requests • Bug report • Refactoring
20
Thank you very much. 21
See more on GitHub