Friday, November 3, 2017

Virtual machine: Preconfigured LAMP stack with php 7

1. Install virtualbox: https://www.virtualbox.org/

2. Download the first VM build which works with virtualbox: https://www.turnkeylinux.org/lampstack

3. Import it into virtualbox. This gives us a LAMP stack with php 5.0

4. Install php7 in the VM: https://shiji.info/blog/2016/en/99

5. disable php5:  a2dismod php5

6. enable php7: a2enmod php7.0

7. restart web server

No comments:

Post a Comment