{"id":15025763,"url":"https://github.com/fsspencer/vagrant-trusty-lamp","last_synced_at":"2025-04-09T20:03:50.077Z","repository":{"id":202905721,"uuid":"107911773","full_name":"fsspencer/vagrant-trusty-lamp","owner":"fsspencer","description":"Vagrant box with Apache + PHP 5.6/7.0/7.1 + MySQL 5.7 + and more","archived":false,"fork":false,"pushed_at":"2017-11-15T12:37:09.000Z","size":26,"stargazers_count":8,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T20:03:41.547Z","etag":null,"topics":["composer","lamp","lamp-server","lamp-setup","php","php5","php7","php70","php71","ubuntu-server","ubuntu1604","vagrant","vagrant-boxes","virtual-machine","virtualbox","web-development"],"latest_commit_sha":null,"homepage":"http://www.codealist.net/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fsspencer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-10-22T23:47:20.000Z","updated_at":"2023-05-04T12:56:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"892001c0-3c47-4cdd-8890-babecc5c499e","html_url":"https://github.com/fsspencer/vagrant-trusty-lamp","commit_stats":null,"previous_names":["fsspencer/vagrant-trusty-lamp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fsspencer%2Fvagrant-trusty-lamp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fsspencer%2Fvagrant-trusty-lamp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fsspencer%2Fvagrant-trusty-lamp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fsspencer%2Fvagrant-trusty-lamp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fsspencer","download_url":"https://codeload.github.com/fsspencer/vagrant-trusty-lamp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103864,"owners_count":21048245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["composer","lamp","lamp-server","lamp-setup","php","php5","php7","php70","php71","ubuntu-server","ubuntu1604","vagrant","vagrant-boxes","virtual-machine","virtualbox","web-development"],"created_at":"2024-09-24T20:02:58.621Z","updated_at":"2025-04-09T20:03:50.058Z","avatar_url":"https://github.com/fsspencer.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Vagrant Ubuntu trusty LAMP\n===================\n\n\nThis is a simple vagrant box which ideally to work with web based projects with frameworks like Magento, Laravel, Symfony, Wordpress, etc.\n\n----------\n\n\nInstall\n-------------\n\nClone the repository on you local machine and execute \"vagrant up\" to begin.\n\n\u003e **Requirements:**\n\n\u003e - VirtualBox\n\u003e - Vagrant\n\n----------\n\nSpecifications\n-------------\n\n\u003e **Specs:**\n\n\u003e - Apache 2.4\n\u003e - MySQL 5.7\n\u003e - PHP 5.6\n\u003e - PHP 7.0\n\u003e - PHP 7.1\n\u003e - PhpMyAdmin\n\u003e - XDebug\n\u003e - Composer\n\u003e - Redis\n\u003e - Memcached\n\u003e - NodeJS\n\u003e - Gulp\n\u003e - Grunt\n\u003e - Postfix / Mailutils\n\u003e - ElasticSearch\n\n\n----------\n\nConfiguration\n-------------\n\nBefore starting, you need to copy etc/config.yaml.sample to etc/config.yaml and set your preferences.\nThere you can set the Memory you want to allocate to the box, mysql root's password and which modules you want to install.\n\n\u003e **IMPORTANT:** You wont be able to initiate the box without creating the config.yaml file.\n\n----------\n\nStart a Project\n-------------\n\nFirst step is initiate your vagrant box\n\n    $ git clone https://github.com/fsspencer/vagrant-trusty-lamp\n\n\t$ vagrant up\nOnce your vagrant box is up and running,  login via SSH to it.\n\n\t$ vagrant ssh \nAssuming that your project would be called \"local.codealist.net\", first step will be create the virtual host using the script we provide\n\n\t$ sudo addwebsite local.codealist.net \nThen we should create a database for it with a specific mysql username/password\n\n\t$ sudo adddb codealist mypassword \nOur box uses by default PHP 7.0, but in case you want to change it, you can do it like this\n\n\t$ sudo phpswitch 5.6 \nAnd that would do the trick.\n\n----------\nPHP Command Line usage\n----------\nAs we mentioned before, this box has 3 different PHP versions\n\n    $ php -v\n    PHP 7.1.10-1+ubuntu14.04.1+deb.sury.org+1 (cli) (built: Sep 29 2017 17:33:22) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.1.10-1+ubuntu14.04.1+deb.sury.org+1, Copyright (c) 1999-2017, by Zend Technologies\n    \n    $ php7.0 -v\n    PHP 7.0.24-1+ubuntu14.04.1+deb.sury.org+1 (cli) (built: Sep 28 2017 16:33:02) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.0.24-1+ubuntu14.04.1+deb.sury.org+1, Copyright (c) 1999-2017, by Zend Technologies\n    \n    $ php 5.6 -v\n    PHP 5.6.31-6+ubuntu14.04.1+deb.sury.org+1 (cli) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffsspencer%2Fvagrant-trusty-lamp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffsspencer%2Fvagrant-trusty-lamp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffsspencer%2Fvagrant-trusty-lamp/lists"}