A customizable Vagrant shell provisioner to set up a PHP web stack.
Those Bash scripts install a VirtualBox virtual machine running a RedHat-like Linux (CentOS) setup with a full PHP stack which serves websites. The stack is composed of several layers in which, with the help of the scripts parameters, you can choose between different supported technologies:
- PHP-FPM with XDebug and common modules (as well as OCI81)
- key-value cache (memcached | redis (todo))
- opcode cache (APC | ZendOpCache)
- HTTP server (Apache with mod_ssl + mod_fastcgi | Nginx)
- DBMS server (MySQL | MariaDB | Oracle XE2)
- a Bash capable OS
- Oracle VirtualBox
- Vagrant
- Fork the repository and chmod the shell files (*.sh) to be executable
- Edit the parameters in
install.sh
andbootstrap.sh
to suit your needs - Run
install.sh
- Once provisioned, you can
vagrant ssh
to login to your virtual machine and thensu -
with password 'vagrant' to further tune it
- To install OCI 8 drivers you first need to download Oracle Instant Client (basic and devel packages) in
bootstrap.d
- To install Oracle Database Express (XE) you first need to download Oracle Express Client in
bootstrap.d