Skip to content

bborrel/vagrant-customizable-php-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vagrant-customizable-php-stack

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)

Requirements

How to use

  1. Fork the repository and chmod the shell files (*.sh) to be executable
  2. Edit the parameters in install.sh and bootstrap.sh to suit your needs
  3. Run install.sh
  4. Once provisioned, you can vagrant ssh to login to your virtual machine and then su - with password 'vagrant' to further tune it

Footnotes

  1. To install OCI 8 drivers you first need to download Oracle Instant Client (basic and devel packages) in bootstrap.d
  2. To install Oracle Database Express (XE) you first need to download Oracle Express Client in bootstrap.d

About

A customizable Vagrant shell provisioner to set up a PHP web stack.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages