Skip to content

php/web-master

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2c66288 · Mar 18, 2025
Jan 30, 2021
Jul 18, 2022
Mar 18, 2025
Feb 5, 2025
Nov 27, 2024
Apr 11, 2021
Aug 26, 2024
Apr 11, 2021
Apr 7, 2021
Mar 29, 2021
Apr 11, 2021
Jul 18, 2022
Apr 11, 2021
Apr 11, 2021
Apr 7, 2021
Apr 7, 2021

Repository files navigation

PHP user management system

Docker

docker-compose up --build

You can reset the data volumes using docker-compose down -v.

Manual

git submodule update --init

# Create database and users:
CREATE DATABASE phpmasterdb;
CREATE USER 'nobody'@'localhost';
GRANT ALL PRIVILEGES ON phpmasterdb.* TO 'nobody'@'localhost';

# Create tables
mysql -unobody phpmasterdb < schema.sql

# Create user test:test
INSERT INTO users (username, svnpasswd, cvsaccess) VALUES ('test', '$2y$10$iGHyxmfHI62Xyr3DPf8faOPCvmU1UMVMlhJQ/FqooqgPJ3STMHTyG', 1);

# Run server (must have mysql ext)
php -S localhost:8000 -d include_path="$PWD/include/" -derror_reporting="E_ALL&~E_DEPRECATED" -t public