{"id":15173913,"url":"https://github.com/hope-it-works/caddy-php","last_synced_at":"2025-10-01T10:31:42.449Z","repository":{"id":37739923,"uuid":"493734145","full_name":"Hope-IT-Works/caddy-php","owner":"Hope-IT-Works","description":"tool for setting up a caddy-server with PHP support and optional MariaDB-server","archived":true,"fork":false,"pushed_at":"2023-03-06T20:20:22.000Z","size":42,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-28T11:04:38.586Z","etag":null,"topics":["caddy-server","caddy2","caddyserver","mariadb","mariadb-database","mariadb-mysql","mariadb-server","mysql","mysql-database","mysql-server","php","sql","sql-server","sqlserver"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hope-IT-Works.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":"2022-05-18T16:05:33.000Z","updated_at":"2023-03-24T02:06:59.000Z","dependencies_parsed_at":"2024-09-23T04:01:17.550Z","dependency_job_id":"afa2c9d0-f349-4d87-b3ff-ad9f8715e821","html_url":"https://github.com/Hope-IT-Works/caddy-php","commit_stats":{"total_commits":27,"total_committers":2,"mean_commits":13.5,"dds":0.03703703703703709,"last_synced_commit":"f6351f638c4a619ec6cbbd59a2ff7d1d6bfccaa5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hope-IT-Works%2Fcaddy-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hope-IT-Works%2Fcaddy-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hope-IT-Works%2Fcaddy-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hope-IT-Works%2Fcaddy-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hope-IT-Works","download_url":"https://codeload.github.com/Hope-IT-Works/caddy-php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234858914,"owners_count":18897834,"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":["caddy-server","caddy2","caddyserver","mariadb","mariadb-database","mariadb-mysql","mariadb-server","mysql","mysql-database","mysql-server","php","sql","sql-server","sqlserver"],"created_at":"2024-09-27T11:04:36.908Z","updated_at":"2025-10-01T10:31:42.131Z","avatar_url":"https://github.com/Hope-IT-Works.png","language":"PowerShell","readme":"# THIS REPOSITORY WAS REPLACED BY [WCMP](https://github.com/Hope-IT-Works/WCMP)\n\n\n![header](https://user-images.githubusercontent.com/52013820/174985791-9bc8cc40-f924-402f-a287-e95fc9504f25.png)\n\n# caddy-php\n\ntool for setting up a caddy-server with PHP support and optional MariaDB-server\n\n\u003e possible rename to WCMP (Windows Caddy MariaDB PHP, e.g. LAMP (Linux Apache MySQL PHP)\n\n## Warning\n\n*MariaDB-support is still WIP!*\n\n## About\n\nAfter some research, I realized that there was no way to set up a caddy server with PHP support without much effort. That's why I created this repository. Later MariaDB-server support was integrated too.\n\n```mermaid\nflowchart LR\n       User-- HTTP/HTTPS --\u003eCaddy\n       Caddy-- \"php_fastcgi\" --\u003ePHP-CGI\n       PHP-CGI-- Result --\u003eCaddy\n       PHP-CGI\u003c-.-\u003eMariaDB[(\"\\nMariaDB-Server\\n(SQL-Server)\")]\n```\n\n## How to install\n\nDownload the `.ps1`-file from [here](./src/). Run the script in PowerShell with `.\\caddy-php.ps1`.\n\nThe script\n\n- will suggest available PHP versions and lets you choose.\n- tries to choose the caddy version automatically but lets you choose when it has problems doing so.\n- creates a subfolder named \"caddy-php\".\n\n## How to run\n\n```\nphp-cgi -b 127.0.0.1:9000\n```\n\n```\ncaddy run --watch\n```\n\n## Documentation\n\n| Service | Documentation |\n| --- | --- |\n| Caddy | [Link](https://caddyserver.com/docs/command-line) |\n| MariaDB | [Link](https://mariadb.com/kb/en/documentation/) |\n| PHP | [Link](https://www.php.net/manual/en/features.commandline.options.php) |\n\n## FAQ\n\n\u003cdetails\u003e\u003csummary\u003eIs it portable?\u003c/summary\u003e\n\u003cp\u003e\n       The services used by this project are configured to work portable. Move your installation where you want.\n\u003c/p\u003e\n\u003c/details\u003e\n\n\u003c!--\n\u003cdetails\u003e\u003csummary\u003e\u003c/summary\u003e\n\u003cp\u003e\n       \n\u003c/p\u003e\n\u003c/details\u003e\n--\u003e\n\n\u003cdetails\u003e\u003csummary\u003eWhy MariaDB?\u003c/summary\u003e\n\u003cp\u003e\n       MariaDB is a open-source fork of MySQL. MariaDB provides better performance and more features than MySQL.\u003cbr\u003e\n       \u003ca href=\"https://www.guru99.com/mariadb-vs-mysql.html\"\u003eMore Information on this topic\u003c/a\u003e\n\u003c/p\u003e\n\u003c/details\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhope-it-works%2Fcaddy-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhope-it-works%2Fcaddy-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhope-it-works%2Fcaddy-php/lists"}