1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

Merge pull request #49 from lapineige/patch-1

Add config instructions about php commands and php version
This commit is contained in:
yalh76 2019-05-31 17:32:42 +02:00 committed by GitHub
commit c986b6608a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,6 +35,13 @@ and respond yes to the question ` Add admin privileges to this user?`
Registrations are open by default.
To change that setting, edit `/var/www/pixelfed/.env` and set `OPEN_REGISTRATION=false` instead of `true`.
Then run `php7.2 artisan config:cache` to reload the settings.
### Pixelfed php commands and php version
Pixelfed might require some command line instructions if you want to make manual changes to your configuration.
By default php 7.0 is currently used when you type `php`. You need to use `php7.2 [command]` instead.
Those commands can be found in the official documentation.
## Documentation