Setup PHP Proxy - Athlon1600/php-proxy-app GitHub Wiki
Work in progress
Installation instructions
Debian/Ubuntu
- 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/