Increase file upload size in WordPress / Moodle / Canvas - Linux Debian 9 Command Console Command

Increase file upload size in WordPress / Moodle / Canvas - Linux Debian 9 Command Console Command

The following adjustments are needed to the the php.ini file after a new deployment through bitnami:

Access the Linux Debian 9 terminal command line. In the landing page type:  

sudo nano stack/php/etc/php.ini

for Debian 10 ternimal use:

sudo nano /home/bitnami/stack/php/etc/php.ini

Using the keyboard combination commands, change the following values in the document as shown below:

upload_max_filesize = 10000M
post_max_size = 10000M
memory_limit = 2000M
file_uploads = On
max_execution_time =1200



You may be required to shutdown and restart the server to apply the changes

    • Related Articles

    • Removing the bitnami logo from a new deployment - Linux Debian 10

      login to the console: at the landing command line type: sudo /opt/bitnami/apps/wordpress/bnconfig --disable_banner 1 Replace "wordpress" with the corresponding application :  moodle,   canvas and so on.. these instructions should also apply for ...
    • Website Deployment Steps - Wordpress

      1 Create a Google account 2 Create a bitnami account 3. Add credit card to google engine for credit 4 Deploy VM and deploy google engine 5 Remove bitnami logo 6 increase upload capacity 7 Obtain Theme, upload it to the VM instance, and configure demo ...
    • How to create a user with sudo privileges in Linux Debian 9

      Login to the Linux Debian 9 Server enter the following command: sudo adduser username To assign it a password: sudo passwd username Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Add the user the the sudo ...
    • Generate and Install a Let's Encrypt SSL Certificate for a Bitnami Application

      Assumptions and prerequisites This guide assumes that: You have deployed a Bitnami application and the application is available at a public IP address so that the Let’s Encrypt process can verify your domain. You have the necessary credentials to log ...
    • Creating Quizzes and Uploading to the Moodle LMS Interface

      Depending on the situation, it may be easier to insert new quiz questions into Moodle by creating them one by one. However, if a publisher has provided a list of questions in Word format, it is possible to import them into Moodle automatically. ...