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
390
RequestGen
c9s
0
160
Callbackgen
c9s
0
92
Chainlink Ecosystem Overview
c9s
0
210
Go Crypto Trading
c9s
1
290
Virtual Machines
c9s
7
2.7k
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
見えないメモリを観測する: PHP 8.4 `pg_result_memory_size()` とSQL結果のメモリ管理
kentaroutakeda
0
930
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
300
非ブラウザランタイムとWeb標準 / Non-Browser Runtimes and Web Standards
petamoriken
0
430
責務を分離するための例外設計 - PHPカンファレンス 2024
kajitack
9
2.3k
ISUCON14感想戦で85万点まで頑張ってみた
ponyo877
1
590
どうして手を動かすよりもチーム内のコードレビューを優先するべきなのか
okashoi
3
870
BEエンジニアがFEの業務をできるようになるまでにやったこと
yoshida_ryushin
0
190
オニオンアーキテクチャを使って、 Unityと.NETでコードを共有する
soi013
0
370
AWSのLambdaで PHPを動かす選択肢
rinchoku
2
390
良いユニットテストを書こう
mototakatsu
11
3.6k
Внедряем бюджетирование, или Как сделать хорошо?
lamodatech
0
940
ゼロからの、レトロゲームエンジンの作り方
tokujiros
3
1k
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
68
10k
A designer walks into a library…
pauljervisheath
205
24k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Designing Experiences People Love
moore
139
23k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.4k
Measuring & Analyzing Core Web Vitals
bluesmoon
5
210
Optimising Largest Contentful Paint
csswizardry
33
3k
Building Adaptive Systems
keathley
38
2.4k
The World Runs on Bad Software
bkeepers
PRO
66
11k
GitHub's CSS Performance
jonrohan
1030
460k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.2k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
960
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