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
クリエイティブコーディングとRuby学習 / Creative Coding and Learning Ruby
chobishiba
0
3.9k
今年のアップデートで振り返るCDKセキュリティのシフトレフト/2024-cdk-security-shift-left
tomoki10
0
210
命名をリントする
chiroruxx
1
420
CSC305 Lecture 26
javiergs
PRO
0
140
快速入門可觀測性
blueswen
0
380
数十万行のプロジェクトを Scala 2から3に完全移行した
xuwei_k
0
280
Spatial Rendering for Apple Vision Pro
warrenm
0
110
Security_for_introducing_eBPF
kentatada
0
110
useSyncExternalStoreを使いまくる
ssssota
6
1.2k
PHPUnitしか使ってこなかった 一般PHPerがPestに乗り換えた実録
mashirou1234
0
230
「Chatwork」Android版アプリを 支える単体テストの現在
okuzawats
0
180
フロントエンドのディレクトリ構成どうしてる? Feature-Sliced Design 導入体験談
osakatechlab
8
4.1k
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Practical Orchestrator
shlominoach
186
10k
Typedesign – Prime Four
hannesfritz
40
2.4k
Making Projects Easy
brettharned
116
5.9k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
29
2k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
2
170
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
Code Review Best Practice
trishagee
65
17k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Speed Design
sergeychernyshev
25
670
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
32
2.7k
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