I need some advice where to look for possible reasons for the issue below.
I am running an PHP script for video upload. Video uploads successfully on the server each time. After I do move_uploaded_file
from the temp folder to the new folder I have the following code:
$sql_insrt = "INSERT INTO tbl_videos SET
video_name = 'name1',
v_id = '12'";
$rs_insrt = $db -> Execute($sql_insrt);
Now for small video files (1~5MB) the $rs_insrt
query executes successfully without any issue.
However, when I try to upload a larger video (20MB for example), the $rs_insrt
does not get executed. The video file is uploaded in the new folder (as it should) and the $sql_insrt
query is correct but the insert query does not go trough.
Do you guys have any idea why this could be?
I have the following configuration in php.ini so I don't think this is the problem:
max_execution_time = 300
max_file_uploads = 20
max_input_nesting_level = 64
max_input_time = -1
max_input_vars = 1000
memory_limit = 128M
post_max_size = 100M
upload_max_filesize = 100M