Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

File Too Large To Open in Editor

Discussion in 'General Discussion' started by Qaiserjutt, Nov 8, 2016.

Tags:
  1. Qaiserjutt

    Qaiserjutt Registered

    Joined:
    Nov 8, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Pakistan
    cPanel Access Level:
    Root Administrator
    am run my root server whm and c panel
    am change post size upload size but not solve my problem
    my script auto save data in in txt file or php file file but when php file is increase more then 1MB
    then file is stop update and not open when am click on editor then show this msg sir kindly please help how increase limit of one for php file editor and read write see in screen short
     

    Attached Files:

  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It's not possible to edit files over 1 MB via File manager. This is by design as a security precaution, and is not configurable. Please use an alternative such as FTP or SSH to make changes to files over 1 MB.

    Thank you.
     
  3. Qaiserjutt

    Qaiserjutt Registered

    Joined:
    Nov 8, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Pakistan
    cPanel Access Level:
    Root Administrator
    sir guide if am use wincp means my server desktop how i can chanhe throw ssh file size am not want edit am want just increase size 1 to big so please guid me how increase throw ssh
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    This is not a limit you can increase. You will have to use a different method to edit the file, such as SSH (vi, nano commands), or by editing the file on your workstation and uploading it via FTP.

    Thank you.
     
Loading...

Share This Page