The php.ini file is the default configuration file for running applications that require PHP. It is used to control variables such as upload sizes, file timeouts, and resource limits.
- Login to windows VPS as Administrator
- Navigate to C:\Program Files (x86)\PHP\v5.X

Locate PHP configuration file(php.ini) and open it with text editor of your choice. Search for following parameter and set your desired value.

ini_set('upload_max_size','10M'); // You can set your desired maximum upload size here.

Save the php.ini file. You can verify the maximum upload size by uploading phpinfo page and accessing it like

If you need any assistance from our support person, you can contact us at support@scopehosts and , we would be happy to help you.

Помог ли вам данный ответ? 2 Пользователи нашли это полезным (72 голосов)