upload_max_file_size does"t change

upload_max_file_size does"t change

by Irith Herman -
Number of replies: 7

I"m workink with Cpanel.

I changed the setting in the PHP Configuration Editor.

I tried to upload a great file there and it worked o.k

But in the moodle Site policies the Maximum uploaded file/Server Limit remain 8mb

Average of ratings: -
In reply to Irith Herman

Re: upload_max_file_size does"t change

by Bob Puffer -

I don't work with cpanel but post_max_size also must be set in the php.ini to the maximum you want in order to get a larger upload size.

In reply to Bob Puffer

תשובה ל: Re: upload_max_file_size does"t change

by Irith Herman -

there is PHP Configuration Editor in cpanel.

The changes made by it.

Thats what I get after changing:

The php.ini has been written.

i copies from the file as it shown

max_execution_time = 19200
max_input_time = 1500
memory_limit = 1024M


;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
;upload_tmp_dir =

; Maximum allowed size for uploaded files.
upload_max_filesize = 400M

but i still don see the change in Moodle

 

In reply to Irith Herman

Re: תשובה ל: Re: upload_max_file_size does"t change

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

You also need to change post_max_size and then restart apache after each change.

In reply to Emma Richardson

תשובה ל: Re: תשובה ל: Re: upload_max_file_size does"t change

by Irith Herman -

Thank you,

I found the place to change it and it works

But now I resore the course that i uploaded and the zip file is damaged

 

 

In reply to Irith Herman

Re: תשובה ל: Re: תשובה ל: Re: upload_max_file_size does"t change

by Bob Puffer -

Some days, life sucks.  Sorry to hear that but now you're ready to go for the next time.