Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: "8.3"
# php extensions also listed in tools/docker-dev/web/Dockerfile
extensions: curl,mysql,ldap,pdo,redis
# php extensions also listed in tools/docker-dev/web/Dockerfile and README.md
extensions: curl,mysql,ldap,pdo,redis,intl
tools: composer:v2
- name: Install dependencies
run: composer install --prefer-dist --no-progress
Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,15 @@ Unity Web Portal is a PHP application built in top of MariaDB and LDAP which act
1. Some HTTP Authentication mechanism (such as Shibboleth SP)
1. Composer (`apt install composer` on Ubuntu)
1. PHP Extensions
1. `php-cli`
1. `php-curl`
1. `php-intl`
1. `php-ldap`
2. `php-curl`
3. `php-redis`
4. `php-cli`
5. `php-mysql`
6. `php-pdo`
1. `php-mbstring`
1. `php-mysql`
1. `php-pdo`
1. `php-redis`
1. `php-xml`
2. Composer packages
1. `cd` to this repository
1. Setup git submodules `git submodule update --init --checkout`
Expand Down
5 changes: 3 additions & 2 deletions tools/docker-dev/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:24.04

# Web Server Setup
ARG DEBIAN_FRONTEND=noninteractive
# php extensions also listed in .github/workflows/phpunit.yml
# php extensions also listed in .github/workflows/phpunit.yml and README.md
RUN apt-get update && apt-get install -y \
apache2 \
apache2-utils \
Expand All @@ -14,7 +14,8 @@ RUN apt-get update && apt-get install -y \
php-redis \
php-cli \
php-mbstring \
php-xml
php-xml \
php-intl
COPY htpasswd /etc/apache2/.htpasswd
RUN chown www-data /etc/apache2/.htpasswd
COPY unity-apache.conf /etc/apache2/sites-available/unity.conf
Expand Down
Loading