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
330
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
470
RequestGen
c9s
0
190
Callbackgen
c9s
0
110
Chainlink Ecosystem Overview
c9s
0
250
Go Crypto Trading
c9s
1
320
Virtual Machines
c9s
7
2.9k
The Voice of Code - COSCUP 2018
c9s
2
670
Building Popular Open Source Projects - COSCUP 2018
c9s
1
490
Vikube: Operate Kubernetes in Vim
c9s
0
560
Other Decks in Programming
See All in Programming
Platformに“ちょうどいい”責務ってどこ? 関心の熱さにあわせて考える、責務分担のプラクティス
estie
2
510
あなたの知らない「動画広告」の世界 - iOSDC Japan 2025
ukitaka
0
290
PostgreSQLで手軽にDuckDBを使う!DuckDB&pg_duckdb入門/osk2025-duckdb
takahashiikki
1
230
CSS Linter の現在地 2025年のベストプラクティスを探る
ryo_manba
10
3.1k
詳しくない分野でのVibe Codingで困ったことと学び/vibe-coding-in-unfamiliar-area
shibayu36
1
400
非同期jobをtransaction内で 呼ぶなよ!絶対に呼ぶなよ!
alstrocrack
0
290
VisionFrameworkで実現する - プライバシーに配慮した「顔ぼかし」機能 / Face blurring with Vision Framework
imaizume
0
180
大規模アプリにおけるXcode Previews実用化までの道のり
ikesyo
0
950
Current States of Java Web Frameworks at JCConf 2025
kishida
0
490
そのpreloadは必要?見過ごされたpreloadが技術的負債として爆発した日
mugitti9
2
2.5k
Back to the Future: Let me tell you about the ACP protocol
terhechte
0
120
複雑化したリポジトリをなんとかした話 pipenvからuvによるモノレポ構成への移行
satoshi256kbyte
0
550
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.9k
Context Engineering - Making Every Token Count
addyosmani
3
140
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
30
2.9k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
45
2.5k
Gamification - CAS2011
davidbonilla
81
5.4k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.6k
Scaling GitHub
holman
463
140k
RailsConf 2023
tenderlove
30
1.2k
Designing Experiences People Love
moore
142
24k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.7k
How GitHub (no longer) Works
holman
315
140k
We Have a Design System, Now What?
morganepeng
53
7.8k
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