Synology NAS – PHP

Enabling extensions in PHP CLI

https://blackswan.ch/archives/594

Become root
Find out which configuration file is used:
php --ini

I get:
Configuration File (php.ini) Path: /usr/local/etc/php70
Loaded Configuration File: /usr/local/etc/php70/php.ini

Edit the php.ini file, check/change extensions dir to where it is located. If PHP was installed through DSM it should be something like ‘/volume1/\@appstore/PHP7.0’
extension_dir = "/volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/"

Enable the extensions you wish to use:
extension = mysqli.so
extension = phar.so
extension = openssl.so
extension = zip.so
extension = curl.so

Installing Composer

https://medium.com/unhandled-code/installing-composer-on-synology-6-1-4-eebd1a1c4891

Become root
Enable the extensions as above (phar, openssl and zip are needed for Composer).

Get and install Composer:
cd /usr/local/bin
curl -s http://getcomposer.org/installer | php70

Create shortcut script ‘composer’ in /usr/local/bin:
#!/bin/bash
php70 /usr/local/bin/composer.phar $*

Set permissions:
chmod --reference=composer.phar composer

Test:
composer --version

PC games

Sites

Humble Bundle
GOG
GamersGate
Abandonware DOS

Cannon Fodder

OpenFodder
(some free levels + uses data from full Amiga/PC versions)

BeamNG.Drive

Available from Steam and Humble Bundle
https://store.steampowered.com/app/284160/BeamNGdrive/
https://www.humblebundle.com/store/beamngdrive

https://beamng.com/
https://www.beamng.com/threads/your-performance-testing-results.37866/
https://www.beamng.com/threads/performance-statistics-feedback-thread.28306/

Wreckfest

https://www.humblebundle.com/store/wreckfest

X-Plane 11

https://www.x-plane.com/
https://www.x-plane.com/email-archives-index/

Captain Joe

Fly with Captain Joe