If this document does not correspond to your current software version, you can go to Download Center to find other available document versions.

QNAP

QuTS hero h5.2.x

Download (PDF)

Modifying the PHP configuration

The default PHP settings are defined by the php.ini configuration file. You can modify this file to define settings such as execution time, memory limit, and maximum file upload size.

Important:

To modify the PHP configuration, you must first enable the Web server.

For details, see Web server.

  1. Log on to QuTS hero as administrator.
  2. Go to Control Panel > Applications > Web Server > Web Server.
  3. Below php.ini Maintenance, perform one or more tasks.
  4. Optional: Upload a php.ini file.
    1. Click Upload.

      The Upload php.ini window opens.

    2. Click Browse.

      The Open window opens.

    3. Select a php.ini file.
    4. Click Upload.

    QuTS hero uploads the file.

  5. Optional: Edit a php.ini file.
    1. Click Edit.

      The Edit php.ini window opens.

    2. Edit the php.ini file.
    3. Click Apply.

    QuTS hero saves the changes.

  6. Optional: Restore a php.ini file.
    1. Click Restore.

      A confirmation message appears.

    2. Click OK.

    QuTS hero restores the default php.ini file.