spec

Home \

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: .zip and .mp4 #1673
    spec
    Participant

    After modifying the following values in php.ini, I am now able to upload large files.

    max_execution_time = 600

    max_input_time = 600

    memory_limit = 1000Mnnn

    post_max_size = 1000M

    upload_max_filesize = 500M

    Now I can’t upload zip files due to error code 4. Something must have broken in the process

    in reply to: .zip and .mp4 #1672
    spec
    Participant

    So the problem appears to be with file size. I can indeed upload smaller zip and image files, but I am unable to upload a 250mb zip file or mp4. Below are my php configs showing my size limit (1000M)

    file_uploads = On

    ; Temporary directory for HTTP uploaded files (will use system default if not

    ; specified).

    ; http://php.net/upload-tmp-dir

    ;upload_tmp_dir =

    ; Maximum allowed size for uploaded files.

    ; http://php.net/upload-max-filesize

    upload_max_filesize = 1000M

    ; Maximum number of files that can be uploaded via a single request

    max_file_uploads = 20

    in reply to: .zip and .mp4 #1670
    spec
    Participant

    Thanks for your response!! 😀 Here is the info, and I’m not sure what the mime parameter would be for zip or mp4? (sorry, i’m not familiar with mime protocol)

    image/gif;image/jpeg;image/pjpeg;image/png;application/pdf;application/msword;application/zip;application/x-compressed;application/x-zip-compressed;multipart/x-zip;application/excel;application/vnd.ms-excel;application/x-excel;application/x-msexcel;media/mp4;media/mpg;media/mpeg;application/vnd.ms-office;application/vsd.ms-office

    PHP Version: 5.3.10-1ubuntu3.2.

    FILEINFO_MIME_TYPE is defined.

    finfo_open is callable.

    finfo_file is callable.

    finfo_close is callable.

    mime_content_type is callable.

    This is a NON-Windows OS: Linux.

    escapeshellarg is callable.

    exec is callable.

    shell_exec is callable.

Viewing 3 posts - 1 through 3 (of 3 total)