> ## Documentation Index
> Fetch the complete documentation index at: https://kb.mochahost.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Setting limits in php.ini - Windows (SolidCP)

If you are getting errors while trying to upload files via your PHP based application (Wordpress...). 

Please open a [TICKET](https://mochahost.com/support.php) to our technical department in order for us to create a custom php.ini for your user.

After that you will be able to manage your **php.ini** settings yourself by following these steps:

1. Login to your SolidCP panel.

![](https://tutorials.my-virtual-panel.com/solid_phpweb_config/1_solid_phpweb_config.png)

2. Click on **File Manager**.

![](https://tutorials.my-virtual-panel.com/solid_phpweb_config/2_solid_phpweb_config.png)

3. Enter the **PHP folder** that is created under your home directory for the user.

![](https://tutorials.my-virtual-panel.com/solid_phpweb_config/3_solid_phpweb_config.png)

4. Scroll down to the **php.ini** and click the **Edit** button.

![](https://tutorials.my-virtual-panel.com/solid_phpweb_config/4_solid_phpweb_config.png)

5. From the new window you can change the values of **upload\\\_max\\\_filesize** and **post\\\_max\\\_size** which is primary related to your PHP upload limit.

![](https://tutorials.my-virtual-panel.com/solid_phpweb_config/5_solid_phpweb_config.png)

![](https://tutorials.my-virtual-panel.com/solid_phpweb_config/5.1_solid_phpweb_config.png)

![](https://tutorials.my-virtual-panel.com/solid_phpweb_config/5.2_solid_phpweb_config.png)

6. Once you are done click **Save.**

![](https://tutorials.my-virtual-panel.com/solid_phpweb_config/6_solid_phpweb_config.png)

If the error is still present you might need to update the **IIS upload limit**.

This can be done by following the steps below:

1. From the File Manager navigate to your website **wwwroot** directory.

![](https://tutorials.my-virtual-panel.com/solid_phpweb_config/1a_solid_phpweb_config.png)

2. Scroll down to the **web.config** and click **Edit**.

![](https://tutorials.my-virtual-panel.com/solid_phpweb_config/2a_solid_phpweb_config.png)

3. Add the following lines just under  at the beginning of the file:

\`

\`

![](https://tutorials.my-virtual-panel.com/solid_phpweb_config/3a_solid_phpweb_config.png)

4. Once you are done click **Save**.

![](https://tutorials.my-virtual-panel.com/solid_phpweb_config/6_solid_phpweb_config.png)
