When I run this code:
<?php
ini_set('upload_max_filesize', '10M');
echo ini_get('upload_max_filesize'), ", " , ini_get('post_max_size')
It returns:
2M, 8M
This is despite my php.ini setting these higher:
upload_max_filesize = 10M
post_max_size = 10M
The error occurs after setting the value as well as it is set in php.ini I'm inclined to think it's a bug. Can someone please tell me what I am doing wrong here?