» How do I upload with Control WebPanel (CWP)?

Uploading files to Control WebPanel (CWP) is primarily done via the User Panel File Manager or FTP/SFTP, targeting the public_html folder for web-accessible files. For large files, you must increase PHP limits (upload_max_filesize, post_max_size) in php.ini and configure client_max_body_size in your web server (Nginx/Apache).

Handling Large File Uploads (> 64MB)

To upload large files, update these configurations in php.ini (usually /usr/local/cwp/php71/php.ini  or similar)

  1. Increase upload_max_filesize to your desired size (e.g., 1000M).
  2. Increase post_max_size to be slightly larger than the upload size (e.g., 1100M). 
  3. Increase memory_limit to be higher than post_max_size (e.g., 1200M).
  4. Restart Web Servers: For Nginx, adjust client_max_body_size and restart. 
  5. Alternative: Use the command sh /scripts/php_big_file_upload 1000 to automatically configure PHP for 1GB uploads.

    Important Considerations 
  6. File Permissions: Ensure files are owned by the user (not root) to avoid website errors. 
  7. Database: If uploading a web app, create a MySQL database in the CWP panel first. 
  8. Security: Use SFTP instead of FTP for secure file transfers.

Was this answer helpful?

Add to favorites Add to Favourites
Print Print this Article