> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://krystal-dev.crisp.help/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# user.ini - Changing PHP settings and restarting PHP

You are able to make changes to some PHP settings via a `.user.ini` file. This file doesn't exist by default - you will need to create it within the `html` folder of the relevant site.

You can create this using the [Onyx File Manager](https://help.krystal.uk/onyx-web-hosting/managing-files-using-onyx-file-manager) or by uploading a file using [FTP](https://help.krystal.uk/onyx-getting-started/connecting-to-your-site-using-sftp).

1.  Create the file in your site's root folder: `/www/html/`
    
    ![](https://storage.crisp.chat/users/helpdesk/website/212c53890c844c00/18d9c8c8-b3b9-41c4-8943-028691_1r21yn5.png)
    
2.  Add your required PHP settings and click **Save**.
    
    ![](https://storage.crisp.chat/users/helpdesk/website/3e1a8469189ae400/4be15735-861d-4060-968d-306ebd_13h1zhi.png)
    
    Our suggested settings are:

``` max_execution_time = 900max_input_time = 600memory_limit = 2048Mmax_input_vars = 8000```

||| Note: This file cannot be blank. Saving this file without adding data will result in the file not being created.

1.  In order for your PHP settings to take effect you'll need to restart PHP within your account.  
    Click on the **Tools** option on the left hand side.
    
    ![](https://storage.crisp.chat/users/helpdesk/website/5666c3c9efba8400/9f7865a6-3684-414d-9acd-0950ca_1i7uw1m.png)
    
2.  Click on **Restart PHP**

![](https://storage.crisp.chat/users/helpdesk/website/e2124195b09b8800/2c216241-2857-46be-b564-cba661_1hqbb32.png)

1.  You can ensure your changes have taken effect by creating a [phpinfo](https://help.krystal.uk/onyx-web-hosting/how-to-check-your-php-settings-values) file.

### Standard PHP settings

Below, you can see the default PHP values. These values will be overridden by your .user.ini file.

``` max_input_vars = 1000memory_limit = 256Mpost_max_size = 100Mupload_max_filesize = 100M```

* * *

* * *