Synology DS411SLIM manual Manage PHP Settings, 118, To Enable MySQL

Models: DS411SLIM

1 238
Download 238 pages 54.07 Kb
Page 118
Image 118

Synology DiskStation User's Guide

Based on DSM 3.1

/volume1/@tmp/php

Synology DiskStation users can customize the error page by creating any of the following files and putting them in the www shared folder: missing.html, missing.htm, or missing.php. When users try to connect to a page that does not exist, this customized error page will be displayed.

Enable MySQL

You can enable MySQL to use the MySQL database function for your website. After MySQL is enabled, you can install the phpMyAdmin package available at Synology's Download Center to manage the MySQL database.

To Enable MySQL:

Tick Enable MySQL and choose a volume to store the database data.

Note:

For more information about installing packages for Synology DiskStation Manager, see "Manage Packages" on Page 211.

By default, the ID for the phpMyAdmin administrator is root, and the password is blank. It is recommended that you change the password.

You can go to Main Menu > Control Panel > Restore Defaults to delete your MySQL databases. See "Restore Synology DiskStation to Factory Defaults" on Page 214 for more information.

Manage PHP Settings

After you have enabled Web Station, you can click the PHP Settings tab to configure PHP related settings.

To turn on PHP configuration option register_globals:

1Tick Turn on PHP configuration option register_globals if the PHP application you use requires the register_globals option to be turned on.

2Click OK.

118

Chapter 10: Host Websites, Email Server, and Print Server

Page 118
Image 118
Synology DS411SLIM Manage PHP Settings, 118, To Enable MySQL, To turn on PHP configuration option registerglobals