Building Development Environment with php-build and phpenv

  • 5,407 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
5,407
On Slideshare
0
From Embeds
0
Number of Embeds
4

Actions

Shares
Downloads
3
Comments
0
Likes
6

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Buildin! Development Environment withphp-build and phpenv
  • 2. Self Introduction • @yuya_takeyama • Interested in... • Node.js • Socket.IO
  • 3. php-build
  • 4. phpenv
  • 5. php-build
  • 6. phpenvrbenv
  • 7. php-build
  • 8. • https://github.com/CHH/php-build• http://blog.yuyat.jp/archives/1376
  • 9. $ php-build --definitions5.3.65.3.85.3snapshot5.4.0alpha35.4.0beta15.4.0beta25.4snapshot
  • 10. $ php-build 5.3.8 ./php/5.3.8
  • 11. $ less ~/.php-build/tmp/php-build.~~~.error.log
  • 12. $ sudo aptitude installbuild-essential bison re2clibxml2-dev zlib1g-devlibcurl4-openssl-devlibjpeg62-dev libpng12-devlibfreetype6-dev libt1-devlibmcrypt-dev libreadline-dev libtidy-dev libxslt1-dev
  • 13. phpenv
  • 14. • https://github.com/CHH/phpenv• http://blog.yuyat.jp/archives/1446
  • 15. rbenvhttps://github.com/sstephenson/rbenv
  • 16. php-build$ php-build 5.4.0beta2 ~/.phpenv/versions/5.4.0beta2
  • 17. phpenv• https://gist.github.com/1305922 $ phpenv install 5.4.0beta2
  • 18. rbenv
  • 19. • https://github.com/chriseppstein/rbenv-each• $ phpenv each -v php -v