Results 1 to 5 of 5

Thread: uploading issue upload_max_filesize

  1. #1
    Member
    Join Date
    Nov 2007
    Posts
    900

    Thumbs up uploading issue upload_max_filesize

    one of our client is trying to upload file through word press & getting the following error

    Upload failed! The uploaded file exceeds the upload_max_filesize directive in php.ini

  2. #2
    Member
    Join Date
    Jan 2011
    Posts
    503
    cPanel/WHM Access Level

    Root Administrator

    Default Re: uploading issue upload_max_filesize

    Hey,

    You can increase the value of the parameter in php.ini of the server or in custom php.ini of the domain.

  3. #3
    Member
    Join Date
    Nov 2007
    Posts
    900

    Default Re: uploading issue upload_max_filesize

    as i don't know how to

  4. #4
    Member
    Join Date
    Jan 2011
    Posts
    503
    cPanel/WHM Access Level

    Root Administrator

    Default Re: uploading issue upload_max_filesize

    Hey!

    >> Take a backup of the file php.ini ; The command php --ini will return the location of the php.ini
    >> Open the php.ini using the editor vi and search for the parameter and increase the value.
    >> Restart apache.

    If you wants to increase the parameter only for one domain you can increase it in .htaccess/custom php.ini according to the handler used.

  5. #5
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: uploading issue upload_max_filesize

    Does the user have their own php.ini file on the account? If so, then open up the php.ini file, look for upload_max_filesize and then increase it. This would be if you are using suPHP, which you can tell in WHM > Apache Configuration > PHP and SuExec Configuration area.

    If you want to change the global setting for the server itself, you can edit /usr/local/lib/php.ini file and edit the size for upload_max_filesize there to have a larger value.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads

  1. upload_max_filesize - Unchangable
    By driverC in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 07-07-2011, 07:30 PM
  2. Modificando upload_max_filesize
    By ozva in forum Discusión en Español
    Replies: 4
    Last Post: 12-16-2010, 08:11 PM
  3. change "upload_max_filesize"
    By ozva in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 12-06-2010, 05:25 PM
  4. Uploading Issue.
    By Teh Lemonsmith in forum New User Questions
    Replies: 1
    Last Post: 02-19-2010, 03:14 PM
  5. upload_max_filesize
    By gertiebeth in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 10-07-2004, 05:15 AM