{"id":15090846,"url":"https://github.com/ynlamy/vagrant-lamp","last_synced_at":"2026-01-04T15:45:43.158Z","repository":{"id":224605727,"uuid":"763723604","full_name":"ynlamy/vagrant-lamp","owner":"ynlamy","description":"A LAMP development environment with Vagrant using VMware Workstation","archived":false,"fork":false,"pushed_at":"2025-01-03T09:30:14.000Z","size":41,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T10:07:50.545Z","etag":null,"topics":["dev","lamp","php","vagrant","web"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ynlamy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-26T20:02:59.000Z","updated_at":"2025-01-03T09:30:17.000Z","dependencies_parsed_at":"2024-07-26T18:28:27.864Z","dependency_job_id":"01b587a5-b3c4-4d7e-b8e5-61086b6d5ba2","html_url":"https://github.com/ynlamy/vagrant-lamp","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"77949965c916b3e7371d93b24a0cfefd998dcba4"},"previous_names":["ynlamy/vagrant-lamp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynlamy%2Fvagrant-lamp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynlamy%2Fvagrant-lamp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynlamy%2Fvagrant-lamp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynlamy%2Fvagrant-lamp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ynlamy","download_url":"https://codeload.github.com/ynlamy/vagrant-lamp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244937833,"owners_count":20535127,"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":["dev","lamp","php","vagrant","web"],"created_at":"2024-09-25T10:34:21.043Z","updated_at":"2026-01-04T15:45:43.146Z","avatar_url":"https://github.com/ynlamy.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vagrant-lamp\n\nA LAMP development environment with [Vagrant](https://www.vagrantup.com/) using [VMware Workstation](https://www.vmware.com/) created by Yoann LAMY under the terms of the [GNU General Public License v3](http://www.gnu.org/licenses/gpl.html).\n\nThis LAMP environment is based on a [Rocky Linux 9](https://rockylinux.org/) distribution and contains :\n* An [Apache/httpd](https://httpd.apache.org/) web server\n* A [MariaDB](https://mariadb.org/) server\n* [PHP](https://www.php.net) scripting language\n* [Xdebug](https://xdebug.org/) to provides a range of features to improve the PHP development experience\n* [phpMyAdmin](https://www.phpmyadmin.net/) to handle the administration of MySQL/MariaDB over the Web\n* [Composer](https://getcomposer.org/) to manage dependencies in PHP\n\nThe php version and some PHP parameters can be defined through the ``Vagrantfile``.\n\n### Usage\n\n- ``cd vagrant-lamp``\n- Edit ``Vagrantfile`` to customize settings :\n\n```\n  ...\n  # Provisioning script\n  config.vm.provision \"shell\", path: \"provisioning.sh\", env: {\n    \"TIMEZONE\" =\u003e \"Europe/Paris\", # Timezone to be used by the system and PHP\n    \"MARIADB_VERSION\" =\u003e \"10.6\", # MariaDB version to use (currently : 10.6, 10.11, 11.4, 11.8, 12.1)\n    \"PHP_VERSION\" =\u003e \"8.4\", # PHP version to use (currently : 7.4, 8.0, 8.1, 8.2, 8.3, 8.4)\n    \"PHP_FRAMEWORK\" =\u003e \"\", # PHP framework used to configure the web server accordingly (cakephp, laravel, symfony or nothing)\n    \"PHP_ERROR_REPORTING\" =\u003e \"E_ALL\", # Sets which PHP errors are reported\n    \"PHP_DISPLAY_ERRORS\" =\u003e \"On\", # This determines whether errors should be printed to the screen as part of the output\n    \"PHP_DISPLAY_STARTUP_ERRORS\" =\u003e \"On\", #Even when display_errors is on, errors that occur during PHP's startup sequence are not displayed\n    \"PHP_MEMORY_LIMIT\" =\u003e \"128M\", # This sets the maximum amount of memory in bytes that a script is allowed to allocate\n    \"PHP_UPLOAD_MAX_FILESIZE\" =\u003e \"2M\", # The maximum size of an uploaded file\n    \"PHP_POST_MAX_SIZE\" =\u003e \"8M\", # Sets max size of post data allowed\n    \"PHP_MAX_EXECUTION_TIME\" =\u003e \"120\", # This sets the maximum time in seconds a script is allowed to run before it is terminated by the parser\n    \"PHP_XDEBUG_MODE\" =\u003e \"debug\", # This setting controls which Xdebug features are enabled (off, develop, coverage, debug, gcstats, profile, trace)\n    \"PHP_XDEBUG_CLIENT_HOST\" =\u003e \"192.168.2.1\", # Configures the IP address or hostname where Xdebug will attempt to connect to when initiating a debugging connection\n    \"PHP_XDEBUG_START_WITH_REQUEST\" =\u003e \"default\" # A Function Trace, Garbage Collection Statistics, Profiling, or Step Debugging can be activated at the start of a PHP request (yes, no, trigger, default)\n  }\n  ...\n```\n\nThis LAMP environment must be started using Vagrant.\n\n- ``vagrant up``\n\n```\n    ...\n    default: Disbaling SELinux...\n    default: Configuring Timezone...\n    default: Cleaning dnf cache...\n    default: Updating the system...\n    default: Installing LAMP...\n    default: Installing Composer...\n    default: Configuring Apache/httpd...\n    default: Configuring MariaDB...\n    default: Configuring PHP...\n    default: Configuring phpinfo...\n    default: Configuring phpMyAdmin...\n    default: Starting LAMP...\n    default:\n    default: LAMP is ready !\n    default: - Apache/httpd version : 2.4.62\n    default: - MariaDB version : 10.6.24\n    default: - PHP version : 8.4.16\n    default: - phpMyAdmin version : 5.2.3\n    default: - Composer version : 2.9.2\n    default:\n    default: Informations :\n    default: - Web server URL : http://127.0.0.1/\n    default: - phpinfo URL : http://127.0.0.1/phpinfo/\n    default: - phpMyAdmin URL : http://127.0.0.1/phpmyadmin/\n    default: - MariaDB host : localhost\n    default: - MariaDB port : 3306\n    default: - MariaDB user : root\n    default: - MariaDB root password is empty\n```\n\nAnd it must be destroy using Vagrant.\n\n- ``vagrant destroy``\n\n```\n    default: Are you sure you want to destroy the 'default' VM? [y/N] y\n    ...    \n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fynlamy%2Fvagrant-lamp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fynlamy%2Fvagrant-lamp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fynlamy%2Fvagrant-lamp/lists"}