16 Commits

Author SHA1 Message Date
Teddysun
33c581878f Update comments
Feat: add input validation helpers
Refactor: simplify case-insensitive command matching
Refactor: streamline database operations
Refactor: extract service management abstraction

Signed-off-by: Teddysun <i@teddysun.com>
2026-02-07 17:25:09 +09:00
Teddysun
d5a13b118f Update comments
Feat: add unified package installation abstraction
Refactor: modularize PHP configuration with associative arrays
Refactor: add unified Apache service management
Refactor: decompose main() into phase-based functions

Signed-off-by: Teddysun <i@teddysun.com>
2026-02-07 17:17:40 +09:00
Teddysun
f8a18a5606 Update comments 2026-02-02 21:27:39 +09:00
Teddysun
3c2c23eb5f Update comments
Fixed encode

Signed-off-by: Teddysun <i@teddysun.com>
2026-02-02 21:12:23 +09:00
Teddysun
12b212cfa9 Update comments
- Fixed some issues
- shellcheck disable=SC1091

Signed-off-by: Teddysun <i@teddysun.com>
2026-02-02 20:17:36 +09:00
Teddysun
6667b86ca9 Update comments
Fixed English grammar and spelling

Signed-off-by: Teddysun <i@teddysun.com>
2026-02-02 19:21:49 +09:00
Teddysun
8bd37c3906 Update comments
feat: strengthen domain validation with special character check

- Add regex pattern ^[a-zA-Z0-9][-a-zA-Z0-9.]*[a-zA-Z0-9]$ for domain validation
- Require domain to start and end with alphanumeric characters
- Only allow letters, numbers, hyphens and dots in domain names
- Provide specific error messages for empty, space, and invalid character cases

fix: resolve shellcheck error in directory path validation

- Replace =~ regex with == glob matching to avoid special char parsing issues
- Escape < > \ | characters to prevent redirection operator misinterpretation
- Maintain path validation functionality

Signed-off-by: Teddysun <i@teddysun.com>
2026-02-02 15:57:54 +09:00
Teddysun
98a495c8a2 Update comments
Add phpinfo.php to default web root directory

Signed-off-by: Teddysun <i@teddysun.com>
2026-01-31 20:36:26 +09:00
Teddysun
814b5d050a Update comments
Added phpinfo.php

Signed-off-by: Teddysun <i@teddysun.com>
2026-01-31 20:33:32 +09:00
Teddysun
fd8561db83 Update comments
Fix(index.html): correct English grammar and improve readability

Signed-off-by: Teddysun <i@teddysun.com>
2026-01-31 18:34:44 +09:00
Teddysun
1253277fc1 Update comments
fix(shellcheck): resolve SC2034 warnings

- Add shellcheck disable comments for nameref output parameters

Signed-off-by: Teddysun <i@teddysun.com>
2026-01-31 16:56:39 +09:00
Teddysun
b7d968ddfb Update comments
fix(shellcheck): resolve SC2155 and SC2034 warnings

- Separate declaration from assignment for SCRIPT_DIR and timestamp
- Add shellcheck disable comments for nameref output parameters
- Remove unused php_sock variable from install_php function

Signed-off-by: Teddysun <i@teddysun.com>
2026-01-31 16:48:31 +09:00
Teddysun
727ee87691 Update README.md 2026-01-31 15:21:26 +09:00
Teddysun
daeefdaf6e Update README.md 2026-01-31 15:19:02 +09:00
Teddysun
cef6423891 LAMP (Linux + Apache + MariaDB + PHP) Stack Installation Scripts
Signed-off-by: Teddysun <i@teddysun.com>
2026-01-31 15:15:05 +09:00
Teddysun
ba598cfaea Empty commit 2026-01-31 13:06:24 +09:00