❤️ AZDIGI has officially updated to a new blog system. However, some posts may have incorrect or mismatched images. Please click the Report article button at the bottom of the post so AZDIGI can update as quickly as possible. Thank you!

Can not be uploaded Error message CyberPanel. When using CyberPanel, you may encounter a very annoying error that is can not be uploaded, Error message on CyberPanel when uploading files through File Manager.

This is an illustration when I upload files, with large and small files, I get this error (this is an error from control) So I will fix it as follows:

can not be uploaded Error message CyberPanel

Step 1: SSH into the server

To fix the error that can not be uploaded Error message on CyberPanel, you need to SSH into the server and edit the file system, specifically the php.ini file.

How to login to Linux VPS with SSH protocol.

Step 2: Find and edit the file php.ini

First, you need to determine where the php.ini file is loader using the grep command to find this file. You can execute the command to find it:

AZDIGI Tutorial
php -i | grep php.ini
    

After I grep, the result returned is Loaded Configuration File => /usr/local/lsws/lsphp71/etc/php.ini.

can not be uploaded Error message CyberPanel

After identifying the php.ini file, use the vi, vim or nano command to open the file and edit it, depending on your usage habits. . I will use the vi command to edit the file.

AZDIGI Tutorial
/usr/local/lsws/lsphp71/etc/php.ini
    

After opening the php.ini file, find and edit the following lines:

  • upload_max_filesize 1024
  • post_max_size 512
  • memory_limit 512
  • max_execution_time 300
can not be uploaded Error message CyberPanel
can not be uploaded Error message CyberPanel

After finding and editing, you save the php.ini file by pressing the ESC key and enter :wq to save and exit.

can not be uploaded Error message CyberPanel

Step 3: Restart the service

Please restart some services to apply the change.

AZDIGI Tutorial
systemctl restart lscpd
systemctl restart lsws
    

Now upload the file and see the results, below are my results:

Hopefully, this article will help you solve the error: can not be uploaded Error message on CyberPanel.

If you need assistance, you can contact support in the ways below:

Share:
This article has been reviewed by AZDIGI Team

About the author

Thạch Phạm

Thạch Phạm

Đồng sáng lập và Giám đốc điều hành của AZDIGI. Có hơn 15 năm kinh nghiệm trong phổ biến kiến thức liên quan đến WordPress tại thachpham.com, phát triển website và phát triển hệ thống.

10+ years serving 80,000+ customers

Start your web project with AZDIGI