PHP settings on ASP.NET Hosting
By manoj on February 14th, 2018
InterServer provides ASP.NET hosting for just $5 per month, through which you can simply host your website on an advanced Windows server comes with Plesk Onyx panel. You may have to look here for more details https://www.interserver.net/webhosting/windows-hosting.html. However, the ASP.NET hosting package is not very suitable for hosting PHP + MySQL based websites, I would suggest Standard Hosting package for hosting such websites such as WordPress, Joomla, etc. But sometimes we need to host these websites on Windows server and in case if we need to change the PHP settings such as upload_max_filesize, post_max_size, memory_limit, etc., there is no option for changing these settings via Plesk panel for end users. In this tutorial, I’ll show you how we can manage this easily via a Plesk panel.
1) Login to your panel via either Client area or by using the credentials in our Welcome Email. Once logged in go to “File Manager”.
2) Create a file as ‘. user.ini’ if it doesn’t exist under your domain and enter the PHP settings in it. For example, to increase upload_max_filesize and post_max_size for your domain:
Create a .user.ini file and open this file for editing, then add the below entries to increase the value:
upload_max_filesize = 128M
Post_max_size = 128M
Once done apply the changes, and save it.
3) The changes might take few minutes to reflect on your domain. To create a new phpinfo page as info.php file. Enter below code in your info.php file to create the PHP info page.
<? php phpinfo(); ?>
Save and try loads this file as http://yourdomain.com/info.php, then search for the variable that you have updated.
If you need any further help please do reach our support department.