I prefer NOT to run "ipkg install optware-devel" because this leaves to much mess. Just run "ipkg install gcc" to install the gcc compiler with the needed packages.
Add php to 3rdpartyBy default the system Apache server has PHP disabled. This is good for security but inconvenient for 3rdparty applications.
PHP can be enabled in the following way:
- edit "/usr/syno/apache/conf/httpd.conf-sys" and add the green parts:
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
- now "/usr/syno/etc.defaults/rc.d/S97apache-sys.sh restart" to restart the server.
create a symlink from "/var/services/web/<appl>" to "/usr/syno/synoman/webman/3rdparty/<appl>". Now by using the url "<ip>/<appl>/<appl>.php" the php is executed.