-
Notifications
You must be signed in to change notification settings - Fork 544
https: github.com Athlon1600 php‐proxy‐app.wiki.git
Felicia Kelley edited this page Aug 9, 2024
·
1 revision
Work in progress
- As root user install composer (recommended installation):
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
- Execute the composer installer under the user you want (change
/var/www
to the path you like):
composer create-project athlon1600/php-proxy-app:dev-master /var/www/
- Now generate a random hash via:
openssl rand -base64 32
- Edit the
config.php
file (within the root directory) and change the encryption_key config variable to the just generated random hash. Something like (DO NOT USE THE SAME SECRET KEY) this:
$config['encryption_key'] = 'hDKLxshYCU+WQvkmbEPXTKdaoko1FGNXzRg3KaGnJS0=';
-
Save the config.php file.
-
Optimize auto load file:
composer dumpautoload -o --working-dir=/var/www/