Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Mar 6, 2023. It is now read-only.

tool for setting up a caddy-server with PHP support and optional MariaDB-server

License

NotificationsYou must be signed in to change notification settings

Hope-IT-Works/caddy-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

header

caddy-php

tool for setting up a caddy-server with PHP support and optional MariaDB-server

possible rename to WCMP (Windows Caddy MariaDB PHP, e.g. LAMP (Linux Apache MySQL PHP)

Warning

MariaDB-support is still WIP!

About

After 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.

flowchart LR       User-- HTTP/HTTPS -->Caddy       Caddy-- "php_fastcgi" -->PHP-CGI       PHP-CGI-- Result -->Caddy       PHP-CGI<-.->MariaDB[("\nMariaDB-Server\n(SQL-Server)")]
Loading

How to install

Download the.ps1-file fromhere. Run the script in PowerShell with.\caddy-php.ps1.

The script

  • will suggest available PHP versions and lets you choose.
  • tries to choose the caddy version automatically but lets you choose when it has problems doing so.
  • creates a subfolder named "caddy-php".

How to run

php-cgi -b 127.0.0.1:9000
caddy run --watch

Documentation

ServiceDocumentation
CaddyLink
MariaDBLink
PHPLink

FAQ

Is it portable?

The services used by this project are configured to work portable. Move your installation where you want.

Why MariaDB?

MariaDB is a open-source fork of MySQL. MariaDB provides better performance and more features than MySQL.
More Information on this topic


[8]ページ先頭

©2009-2025 Movatter.jp