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
280
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
360
RequestGen
c9s
0
140
Callbackgen
c9s
0
85
Chainlink Ecosystem Overview
c9s
0
190
Go Crypto Trading
c9s
1
280
Virtual Machines
c9s
7
2.6k
The Voice of Code - COSCUP 2018
c9s
2
650
Building Popular Open Source Projects - COSCUP 2018
c9s
1
440
Vikube: Operate Kubernetes in Vim
c9s
0
500
Other Decks in Programming
See All in Programming
Kotlin 2.0 and Beyond
antonarhipov
2
150
React + TextAliveでカッコいいLyric Applicatioinを作ろう!!
tosuri13
0
400
Understand the mechanism! Let's do screenshots tests of Compose Previews with various variations / 仕組みから理解する!Composeプレビューを様々なバリエーションでスクリーンショットテストしよう
sumio
3
800
Composing an API the *right* way (Droidcon New York 2024)
zsmb
2
100
仮想ファイルシステムを導入して開発環境のストレージ課題を解消する
segadevtech
2
550
長期運用プロダクトの開発速度を維持し続けるためのリファクタリング実践例
wataruss
8
2.7k
Perl 5 OOP機構30年史 - Perl 5's OOP Mechanism over the past 30 years
moznion
0
320
Amazon Neptuneで始める初めてのグラフDB ー グラフDBを使う意味を考える ー
satoshi256kbyte
2
260
いつか使える ObjectSpace / Maybe useful ObjectSpace
euglena1215
2
140
API Platform for Laravel
dunglas
1
400
Some more adventure of Happy Eyeballs
coe401_
2
190
Google Sign-inの移行から始めるCredential Manager活用
clockvoid
0
310
Featured
See All Featured
A Philosophy of Restraint
colly
202
16k
Fantastic passwords and where to find them - at NoRuKo
philnash
48
2.8k
For a Future-Friendly Web
brad_frost
174
9.3k
We Have a Design System, Now What?
morganepeng
48
7.1k
Thoughts on Productivity
jonyablonski
66
4.2k
Code Review Best Practice
trishagee
62
16k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
502
140k
From Idea to $5000 a Month in 5 Months
shpigford
379
46k
Debugging Ruby Performance
tmm1
72
12k
The Language of Interfaces
destraynor
153
23k
The Power of CSS Pseudo Elements
geoffreycrofte
71
5.3k
Building a Modern Day E-commerce SEO Strategy
aleyda
36
6.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