Three steps are needed to change the php settings:
1. Check your current php version.
1) Add a phpinfo.php file in one directory of your website
2) Add <?php phpinfo();?> to the file
3) Access /yourwebsite.com/xxx/phpinfo.php
2. If your version is V5.x.x.
1) Create a new file with name php5.ini in root directory.
2) add the parameters you need to the file,like
- memory_limit = 50M
- post_max_size = 10M
- file_uploads = On
- upload_max_filesize = 10M
ELSE If your php version is V4.x.x. or lower
The configuration file is the php.ini file in the root directory.
3. Check your phpinfo.php and find the parameters' values of what your care about. If it doesn't change, follow these steps to reload your php settings.
To Kill Web System Processes on Linux Shared Hosting AccountsNOTE: You will not find the start button because the End Web is for restart.
- Log in to your Account Manager.
- Click Web Hosting.
- Next to the hosting account you want to use, click Launch.
- In the Content section of the Hosting Control Center, click the System Processes icon.
- Click End Web and follow any prompts.
- Reload the phpinfo.php page to see if the desired changes have taken effect.