Your HostICan Community  


Go Back   Your HostICan Community > Programming & Design > PHP / MySQL Assistance

PHP / MySQL Assistance We understand. Not all of you are experienced programmers, but some of you are highly skilled at coding. So we've set aside this forum so you can ask questions, and provide answers to the most commonly asked PHP / MySQL issues.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-28-2009, 12:56 PM
1nn0c3n 1nn0c3n is offline
Junior Member
 
Join Date: Sep 2009
Posts: 3
Default completely remove the maximal upload limit for the website from my hosting

I want to completely remove or rise the upload restriction when my website visitors submit a file. How to rise the maximal upload limit for the website from my hosting?
Reply With Quote
  #2  
Old 09-28-2009, 01:33 PM
iceman1's Avatar
iceman1 iceman1 is offline
Member
 
Join Date: Jan 2009
Posts: 91
Default Re: completely remove the maximal upload limit for the website from my hosting

Login to the VPS server via SSH and gain root privilege to the console. Locate php.ini file.
Code:
root@server [~]# php -i |grep php.ini
Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => /usr/local/lib/php.ini
Begin edit PHP configuration file.
Code:
nano /usr/local/lib/php.ini
Find this line:
Code:
upload_max_filesize = 2M
change the value 2M with something greater. For unlimited upload size, use 0.
Reply With Quote
Reply

Tags
completely, hosting, limit, maximal, remove, upload, website

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 03:04 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Copyright © 2003 - 2008 HostICan. All Rights Reserved.