File Upload with encryption error

Hello,
I am facing an issue while I upload, encrypt(256 bit AES encryption) and store in MySQL database using a PHP longblob

I have below setting in php.ini file

max_execution_time: 30
max_file_uploads: 100
max_input_nesting_level: 64
max_input_time: 60
max_input_vars: 1000

And MySQL max_allowed_packet and max_long_data_size to 100 MB.

But when I upload file bigger than 1Mb I am getting an issue. I am looking for a solution and if any one of you can help will be great.

Thank you,

Feel free to share what the “issue” is.

You might want to look for these in you php.ini file.

[ul][li]memory_limit = 128M[/li]
[li]post_max_size = 100M[/li]
[li]upload_max_filesize = 100M[/li][/ul]

I’m just guessing that you are having problems uploading a certain file size, my setting are a little extreme, but hope this helps.

Thank you,
I did check php.ini file. I have below value set…

memory_limit = 128M
post_max_size = 128M
upload_max_filesize = 100M

Thank you,

Sponsor our Newsletter | Privacy Policy | Terms of Service