{"id":15106048,"url":"https://github.com/houaryx/php_server_setup","last_synced_at":"2026-01-18T19:01:44.753Z","repository":{"id":257574582,"uuid":"858687858","full_name":"houaryx/php_server_setup","owner":"houaryx","description":"Docker setup to quickly web server environment with Apache, PHP, MySQL, phpMyAdmin, Node.js, Npm, Composer, and Laravel. It also includes a simple PHP dashboard for managing directories","archived":false,"fork":false,"pushed_at":"2024-09-17T22:13:37.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-31T05:21:34.126Z","etag":null,"topics":["apache2","backend","dashboard","docker","docker-compose","full-stack","laravel","linux","node","php8","windows","wsl"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/houaryx.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-17T11:08:04.000Z","updated_at":"2024-09-17T22:13:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"994d74d5-924f-4599-a40b-2c110e63d41f","html_url":"https://github.com/houaryx/php_server_setup","commit_stats":null,"previous_names":["houaryx/test"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/houaryx%2Fphp_server_setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/houaryx%2Fphp_server_setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/houaryx%2Fphp_server_setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/houaryx%2Fphp_server_setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/houaryx","download_url":"https://codeload.github.com/houaryx/php_server_setup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230332916,"owners_count":18210123,"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":["apache2","backend","dashboard","docker","docker-compose","full-stack","laravel","linux","node","php8","windows","wsl"],"created_at":"2024-09-25T21:00:34.751Z","updated_at":"2024-12-18T19:43:29.320Z","avatar_url":"https://github.com/houaryx.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP \u0026 MySQL Docker Setup\n\nThis repository provides a Docker setup to quickly deploy a web server environment with Apache, PHP, MySQL, phpMyAdmin, Node.js, npm, Composer, and Laravel. It also includes a simple PHP dashboard for managing directories.\n\n## Prerequisites\n- Unix Env or WSL for Windows\n  ```\n  git clone https://github.com/houaryx/devops\n  ```\n- Docker installed on your machine\n- Docker Compose (optional, but recommended for managing multi-container applications)\n\n## Setup\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/houaryx/php_server_setup.git\ncd php_server_setup\nchmod +x wsl_server.sh\n./wsl_server.sh\n`````\n### 2. Build the Docker Image\n- To build the Docker image, run:\n```bash\ndocker build -t my-php-app .\n```\n### 3. Run the Docker Container\n- To run the Docker container with port mappings:\n```bash\ndocker run -p 8080:80 -p 3306:3306 --name my-running-app my-php-app\n\n```\n- Port 8080 will be used for accessing the web server.\n- Port 3306 will be used for accessing the MySQL database.\n\n### 3. Accessing Services\n- PHP Dashboard: http://localhost:8080/\n- phpMyAdmin: http://localhost:8080/phpmyadmin\n- PHP Info: http://localhost:8080/info.php\n\n### 4. Using the PHP Dashboard\n- The PHP dashboard at http://localhost:8080/ allows you to:\n- Create New Directories: Enter a name and click \"Create Directory.\"\n- Delete Directories: Enter the name of an existing directory and click \"Delete Directory.\"\n- View Existing Directories: The list of directories under /var/www/html will be displayed.\n### MySQL Credentials\n- Username: root\n- Password: yourpassword (replace with your desired password in the Dockerfile or through environment variables)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhouaryx%2Fphp_server_setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhouaryx%2Fphp_server_setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhouaryx%2Fphp_server_setup/lists"}