Skip to content

Instantly share code, notes, and snippets.

@shin1x1 shin1x1/Vagrantfile
Last active Jan 1, 2016

What would you like to do?
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| = "opscode-centos65"
config.vm.box_url = "" "forwarded_port", guest: 4000, host: 4000 "forwarded_port", guest: 8000, host: 8000
config.vm.provision :shell, :inline => <<-EOT
# iptables off
/sbin/iptables -F
/sbin/service iptables stop
/sbin/chkconfig iptables off
# php
yum -y groupinstall "Development Tools"
yum -y install libxml2-devel
curl -L -o php-5.5.7.tar.bz2
tar xvf php-5.5.7.tar.bz2
cd php-5.5.7
./configure --with-readline
make install
# phpdbg
cd sapi
git clone
cd ../
./buildconf --force
make -j8
make install-phpdbg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.