{"id":30388239,"url":"https://github.com/syspanel/docker-lampp-stack","last_synced_at":"2025-10-26T13:12:38.336Z","repository":{"id":310800864,"uuid":"958756985","full_name":"syspanel/docker-lampp-stack","owner":"syspanel","description":"A versatile LAMPP stack (Linux, Apache, MariaDB, PHP) built with Docker on Ubuntu 24.04 LTS, supporting PHP versions 7.4, 8.0, 8.1, and 8.3. Includes Redis, Composer, Node.js, phpMyAdmin, and Adminer for a complete web development environment.","archived":false,"fork":false,"pushed_at":"2025-09-21T16:48:59.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-21T18:35:18.051Z","etag":null,"topics":["adminer","apache","apache2","devops","docker-lamp","docker-lamp-stack","docker-lampp","docker-lampp-stack","lamp","lamp-stack","lampp","lampp-stack","mariadb","mariadb-database","php","phpmyadmin","phpmyadmin-docker"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/syspanel.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,"zenodo":null}},"created_at":"2025-04-01T17:59:03.000Z","updated_at":"2025-09-21T16:49:02.000Z","dependencies_parsed_at":"2025-08-20T10:44:45.963Z","dependency_job_id":null,"html_url":"https://github.com/syspanel/docker-lampp-stack","commit_stats":null,"previous_names":["syspanel/docker-lampp-stack"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/syspanel/docker-lampp-stack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syspanel%2Fdocker-lampp-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syspanel%2Fdocker-lampp-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syspanel%2Fdocker-lampp-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syspanel%2Fdocker-lampp-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/syspanel","download_url":"https://codeload.github.com/syspanel/docker-lampp-stack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syspanel%2Fdocker-lampp-stack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016089,"owners_count":26085802,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["adminer","apache","apache2","devops","docker-lamp","docker-lamp-stack","docker-lampp","docker-lampp-stack","lamp","lamp-stack","lampp","lampp-stack","mariadb","mariadb-database","php","phpmyadmin","phpmyadmin-docker"],"created_at":"2025-08-21T06:09:22.338Z","updated_at":"2025-10-13T16:33:47.745Z","avatar_url":"https://github.com/syspanel.png","language":"Dockerfile","readme":"# Docker LAMP Stack\n\nA flexible and robust LAMP (Linux, Apache, MySQL/MariaDB, PHP) stack Docker image with additional tools like Redis, Python, Node.js, and Composer. This project supports configurable PHP and phpMyAdmin versions, managed by Supervisor for process reliability.\n\n## Features\n- **Base:** Ubuntu 24.04\n- **Web Server:** Apache 2\n- **Database:** MariaDB\n- **PHP:** Configurable version (default: 7.4) with essential and optional extensions\n- **phpMyAdmin:** Configurable version (default: 5.1.1) with fallback to 5.2.1\n- **Extras:** Redis, Python 3, Node.js 18.x, Composer\n- **Process Management:** Supervisor\n- **Persistence:** Volumes for MySQL, application data, and logs\n- **Ports:** 80 (Apache), 3306 (MariaDB), 6379 (Redis), with optional additional ports\n\n## Requirements\n- Docker installed on your system\n\n## Usage\n\n# Docker LAMP Stack\n\nA flexible and robust LAMP (Linux, Apache, MySQL/MariaDB, PHP) stack Docker image with additional tools like Redis, Python, Node.js, and Composer. This project supports configurable PHP and phpMyAdmin versions, managed by Supervisor for process reliability.\n\n## Features\n- **Base:** Ubuntu 24.04\n- **Web Server:** Apache 2\n- **Database:** MariaDB\n- **PHP:** Configurable version (default: 7.4) with essential and optional extensions\n- **phpMyAdmin:** Configurable version (default: 5.1.1) with fallback to 5.2.1\n- **Extras:** Redis, Python 3, Node.js 18.x, Composer\n- **Process Management:** Supervisor\n- **Persistence:** Volumes for MySQL, application data, and logs\n- **Ports:** 80 (Apache), 3306 (MariaDB), 6379 (Redis), with optional additional ports\n\n## Requirements\n- Docker installed on your system\n\n## Usage\n\n### Build the Image\n1. Clone or download this repository:\n   ```bash\n   \n\n    Build the Docker image with specific PHP and phpMyAdmin versions:\n        PHP 7.4 with phpMyAdmin 5.1.1 (default):\n        bash\n\n        docker build -t docker-lamp-stack .\n        \n        PHP 7.4 with phpMyAdmin 5.1.1:\n        bash\n        docker build -t docker-lamp-stack-74 --build-arg PHP_VERSION=7.4 --build-arg PHPMYADMIN_VERSION=5.1.1 .\n        PHP 8.0 with phpMyAdmin 5.2.1:\n        bash\n        docker build -t docker-lamp-stack-80 --build-arg PHP_VERSION=8.0 --build-arg PHPMYADMIN_VERSION=5.2.1 .\n        PHP 8.1 with phpMyAdmin 5.2.1:\n        bash\n        docker build -t docker-lamp-stack-81 --build-arg PHP_VERSION=8.1 --build-arg PHPMYADMIN_VERSION=5.2.1 .\n        PHP 8.2 with phpMyAdmin 5.2.1:\n        bash\n        docker build -t docker-lamp-stack-82 --build-arg PHP_VERSION=8.2 --build-arg PHPMYADMIN_VERSION=5.2.1 .\n        PHP 8.3 with phpMyAdmin 5.2.1:\n        bash\n        docker build -t docker-lamp-stack-83 --build-arg PHP_VERSION=8.3 --build-arg PHPMYADMIN_VERSION=5.2.1 .\n        Note: If the specified PHPMYADMIN_VERSION is unavailable, it falls back to 5.2.1.\n\nRun the Container\n\nRun the container with persistent volumes for the application, MySQL data, and logs. Below is an example with additional ports and log mapping:\n   bash\n   \n      docker run --name \"docker-lamp-stack\" \\\n        -p \"8080:80\" -p \"8082:3306\" -p \"8083:6379\" \\        \n        -v ${PWD}/app:/app -v ${PWD}/mysql:/var/lib/mysql \\\n        -v ${PWD}/logs:/var/log \\\n        docker-lamp-stack-74\n\nBasic Example (without additional ports or logs):\n    bash  \n    \n       docker run --name \"docker-lamp-stack\" \\\n         -p \"8080:80\" -p \"8082:3306\" -p \"8083:6379\" \\         \n         -v ${PWD}/app:/app -v ${PWD}/mysql:/var/lib/mysql \\\n         docker-lamp-stack\n\nAccess\n\n    Web Server: http://localhost:16080 (or 8080 for basic example; displays \"Server running! PHP x.x.x\")\n    phpMyAdmin: http://localhost:16080/phpmyadmin (or 8080; user: root, password: root)\n    MariaDB: Port 16082 (or 8082), user: root, password: root\n    Redis: Port 16083 (or 8083)\n    Additional Ports: 16081 (443), 16084 (8000), 16085 (9000), 16086 (10000) are mappable but require additional configuration for use (e.g., SSL for 443).\n\nCreate user 'pma' for phpmyadmin:\n\n    docker exec -it docker-lamp-stack mariadb -u root -p\n\n    CREATE USER 'pma'@'%' IDENTIFIED BY 'password';\n    GRANT ALL PRIVILEGES ON *.* TO 'pma'@'%' WITH GRANT OPTION;\n    FLUSH PRIVILEGES;\n    exit\n    \nLogs\n\nLogs are available in the /var/log directory inside the container. With the -v ${PWD}/logs:/var/log volume, they are persisted to the logs directory on the host:\n\n    Apache: ${PWD}/logs/apache2/supervisor.log\n    MariaDB: ${PWD}/logs/mariadb/supervisor.log, ${PWD}/logs/mariadb/error.log\n    Redis: ${PWD}/logs/redis/supervisor.log\n    Supervisor: ${PWD}/logs/supervisor/supervisord.log\n\nConfiguration\n\nConfiguration files are located in the config/ directory:\n\n    Apache: config/apache/000-default.conf\n    PHP: config/php/apache2-php.ini and config/php/cli-php.ini\n    MariaDB: config/mariadb/custom.cnf\n    Redis: config/redis/redis.conf\n    Supervisor: config/supervisor/ (main config and service-specific files)\n    Startup Script: config/start.sh (initializes MariaDB and creates log directories)\n\nSupported PHP Versions\n\nAny version available in the ppa:ondrej/php repository (e.g. 7.4, 8.0, 8.1, 8.2, 8.3). Optional extensions are installed if available; missing ones are skipped without failing the build.\nphpMyAdmin Fallback\n\nIf the specified PHPMYADMIN_VERSION is not found, the build automatically falls back to version 5.2.1, ensuring compatibility with modern PHP versions.\nRepository\n\nThis project is hosted on GitHub: syspanel/docker-lamp-stack\nLicense\n\nThis project is licensed under the MIT License. See the  file for details.\nAuthor\n\nMarco Costa marcocosta@gmx.com\nSupport the Project\n\n### Support the Project\nIf you find this project useful, consider supporting its development with a donation via PayPal:\n\n[![Donate via PayPal](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/donate/?business=marcocosta@gmx.com\u0026currency_code=USD)\n\n\n","funding_links":["https://www.paypal.com/donate/?business=marcocosta@gmx.com\u0026currency_code=USD"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyspanel%2Fdocker-lampp-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyspanel%2Fdocker-lampp-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyspanel%2Fdocker-lampp-stack/lists"}