chore: Added missing mysqli extension in README & updated some workflows (#2091)
Some checks are pending
Continuous Integration / Nightly builds 📦 (push) Waiting to run
Continuous Integration / 🎉 Deploy (push) Waiting to run
PHPMD / Run PHPMD scanning (push) Waiting to run

* chore: Added missing `mysqli` extension in README & updated some workflows

* Update install.php

* Update README.md
This commit is contained in:
Roman Kelesidis 2025-08-19 20:54:28 +03:00 committed by GitHub
commit 7c3faa922f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 15 deletions

View file

@ -43,10 +43,7 @@ jobs:
with: with:
php-version: '8.1' php-version: '8.1'
- name: Update composer.lock file - name: Install Composer dependencies 🪚
run: composer update --no-install
- name: Install Composer dependencies
run: composer install --no-progress --prefer-dist --optimize-autoloader run: composer install --no-progress --prefer-dist --optimize-autoloader
- name: Cleanup - name: Cleanup

View file

@ -19,9 +19,6 @@ jobs:
with: with:
php-version: '8.1' php-version: '8.1'
- name: Update composer.lock file
run: composer update --no-install
- name: Install Composer dependencies 🪚 - name: Install Composer dependencies 🪚
run: composer install --no-progress --prefer-dist --optimize-autoloader run: composer install --no-progress --prefer-dist --optimize-autoloader
@ -59,9 +56,6 @@ jobs:
with: with:
php-version: '8.1' php-version: '8.1'
- name: Update composer.lock file
run: composer update --no-install
- name: Install Composer dependencies 🪚 - name: Install Composer dependencies 🪚
run: composer install --no-progress --prefer-dist --optimize-autoloader run: composer install --no-progress --prefer-dist --optimize-autoloader

View file

@ -58,7 +58,7 @@ and go from there. The documentation will be translated to English in the near f
* Apache / nginx ([example config](install/nginx.conf)) / caddy ([example config](install/Caddyfile)) * Apache / nginx ([example config](install/nginx.conf)) / caddy ([example config](install/Caddyfile))
* MySQL 5.5.3 or above (including MySQL 8.0+) / MariaDB 10.0 or above / Percona * MySQL 5.5.3 or above (including MySQL 8.0+) / MariaDB 10.0 or above / Percona
* PHP: 8.1 / 8.2 / 8.3 / 8.4 * PHP: 8.1 / 8.2 / 8.3 / 8.4
* PHP Extensions: mbstring, gd, bcmath, intl, tidy (optional), xml, xmlwriter * PHP Extensions: mysqli, mbstring, gd, bcmath, intl, tidy (optional), xml, xmlwriter
* Crontab (Recommended) * Crontab (Recommended)
## 💾 Installation ## 💾 Installation
@ -101,7 +101,7 @@ Check out our [autoinstall](https://github.com/torrentpier/autoinstall) reposito
``` ```
4. After, run this command in the project directory to install Composer dependencies 4. After, run this command in the project directory to install Composer dependencies
```shell ```shell
composer install --optimize-autoloader --no-dev composer install --prefer-dist --optimize-autoloader
``` ```
5. Create a database and import the dump located at `install/sql/mysql.sql` 5. Create a database and import the dump located at `install/sql/mysql.sql`
6. Edit database configuration settings in the environment (`.env.example`), after, rename to `.env` 6. Edit database configuration settings in the environment (`.env.example`), after, rename to `.env`

View file

@ -145,9 +145,7 @@ if (!is_file(BB_ROOT . 'vendor/autoload.php')) {
// Installing dependencies // Installing dependencies
if (is_file(BB_ROOT . 'composer.phar')) { if (is_file(BB_ROOT . 'composer.phar')) {
out('- Installing dependencies...', 'info'); out('- Installing dependencies...', 'info');
runProcess('php ' . BB_ROOT . 'composer.phar update --no-install'); runProcess('php ' . BB_ROOT . 'composer.phar install --no-interaction --no-ansi --prefer-dist --optimize-autoloader');
sleep(3);
runProcess('php ' . BB_ROOT . 'composer.phar install --no-interaction --no-ansi');
define('COMPOSER_COMPLETED', true); define('COMPOSER_COMPLETED', true);
} else { } else {
out('- composer.phar not found. Please, download it (composer.phar) manually', 'error'); out('- composer.phar not found. Please, download it (composer.phar) manually', 'error');