One of my problems on Synology DSM is to find files. Therefore, I will maintain and update this list regularly.
Configurations
httpd.conf httpd.conf-user |
/usr/syno/apache/conf/httpd.conf /usr/syno/apache/conf/httpd.conf-user |
apc.ini | in extensions.ini and user-setting.ini |
my-huge.cnf my-innodb-heavy-4G.cnf my-large-cnf my-medium.cnf my-small.cnf |
/usr/syno/mysql/share/mysql/my-huge.cnf /usr/syno/mysql/share/mysql/my-innodb-heavy-4G.cnf /usr/syno/mysql/share/mysql/my-large.cnf /usr/syno/mysql/share/mysql/my-medium.cnf /usr/syno/mysql/share/mysql/my-small.cnf* copy to and rename /etc/my.cnf ** /usr/syno/etc/rc.d/S21mysql.sh restart |
opcache.ini | /etc/php/conf.d/opcache.ini (DSM 5.0) |
php.ini | /usr/syno/etc/php.ini (DSM 4.3) /etc/php/php.ini (DSM 5.0) |
php extension | /usr/syno/etc/php/extension.ini |
php user settings | /usr/syno/etc/php/user-setting.ini |
Executable
apache | /usr/syno/etc/rc.d/S97apache-sys.sh /usr/syno/apache/bin/httpd |
ipkg | |
iptables iptables-save iptables-restore |
/usr/syno/etc/rc.d/S01iptables.sh /sbin/iptables /sbin/iptables-save /sbin/iptables-restore |
mysql | /usr/syno/etc/rc.d/S21mysql.sh /usr/syno/mysql/bin/mysql |
php cli |
/volume0/usr/builtin/bin/php |
Log Files
apache access apache error |
/var/log/access_log /var/log/httpd-error-user.log * Please modify httpd.conf-user as described in Enable Web Logs to enable. ** Enable error log by enabling “ErrorLog /var/log/httpd-error-user.log” and disabling “ErrorLog /dev/null”. *** Enable access log by enabling and editing “CustomLog /var/log/access_log combined”. |
Other Files
apache modules | /usr/syno/apache/modules/ |
php extensions | /usr/lib/php/extensions/ |
session files | /var/spool/php |
web pages | /volume1/web/ /var/services/web Owner: admin |
Notes
- Must enable SSH service in [Control Panel] → [Terminal]
- When use ssh to login, use ssh root@[IP] or some files won’t be executable or editable.
- The web admin must be login with port 5000 by default.
- MySQL and phpMyAdmin default account is root, password is blank/empty.