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
320
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
420
RequestGen
c9s
0
180
Callbackgen
c9s
0
110
Chainlink Ecosystem Overview
c9s
0
230
Go Crypto Trading
c9s
1
310
Virtual Machines
c9s
7
2.8k
The Voice of Code - COSCUP 2018
c9s
2
660
Building Popular Open Source Projects - COSCUP 2018
c9s
1
470
Vikube: Operate Kubernetes in Vim
c9s
0
540
Other Decks in Programming
See All in Programming
Doma で目指す ORM 最適解
nakamura_to
1
160
External SecretsのさくらProvider初期実装を担当しています
logica0419
0
210
Cloudflare Realtime と Workers でつくるサーバーレス WebRTC
nekoya3
0
230
iOSアプリ開発もLLMで自動運転する
hiragram
6
2.1k
Language Server と喋ろう – TSKaigi 2025
pizzacat83
2
660
技術的負債と戦略的に戦わざるを得ない場合のオブザーバビリティ活用術 / Leveraging Observability When Strategically Dealing with Technical Debt
yoshiyoshifujii
0
160
マテリアルって何者?RealityKitで扱うマテリアル入門
nao_randd
0
140
テスト分析入門/Test Analysis Tutorial
goyoki
11
2.7k
What Spring Developers Should Know About Jakarta EE
ivargrimstad
1
580
TypeScript Language Service Plugin で CSS Modules の開発体験を改善する
mizdra
PRO
3
2.4k
UPDATEがシステムを複雑にする? イミュータブルデータモデルのすすめ
shimomura
0
160
型安全なDrag and Dropの設計を考える
yudppp
5
660
Featured
See All Featured
Fireside Chat
paigeccino
37
3.5k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
25
2.8k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
460
Why Our Code Smells
bkeepers
PRO
336
57k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
106
19k
GraphQLとの向き合い方2022年版
quramy
46
14k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
6
650
4 Signs Your Business is Dying
shpigford
183
22k
Visualization
eitanlees
146
16k
How GitHub (no longer) Works
holman
314
140k
Done Done
chrislema
184
16k
The Cost Of JavaScript in 2023
addyosmani
49
8.1k
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