memory_limit post_max_size upload_max_filesize max_execution_time
With default Windows VPS configuration, you may find php.ini file at the following path. You just need to edit this file using any editor such as Notepad++, set values for php directives, disable/enable variables and save the file. Please note that changes you made at php.ini file located at above path will be reflected globally. It will affect all php websites hosted on your server.
C:\Program Files (x86)\PHP\v5.X
To verify that php.ini file is being loaded from website’s wwwroot folder (path where you have uploaded php.ini file with custom changes), you will need to create a phpinfo page. A phpinfo page shows all of your php environment settings. A phpinfo page is simply a php page with the following code.
<?php phpinfo(); ?>
You can verify that php.ini is loaded from the correct path by searching “Loaded Configuration File” via browser's search feature ( Ctrl + f ). Similarly, you can also search for custom settings you have done to php.ini file and verify that those settings have been reflected.
Windows Shared Hosting customers can submit the ticket from client area to set custom php.ini file in their website.
Linux VPS & Linux Shared Hosting customers can refer to this article to make custom php variable settings via php.ini file.
- php.ini file path can be different, if you have made changes in VPS' default php configuration or you have installed additional php version in VPS.
- phpinfo page has many php settings that you don't want to show to the world. You should delete this file when this file is no longer in use.