Hi guys,
I'm using HTTP POST from Javascript to PHP to upload image files. The file size limit on the local Windows WAMP server is adjustable by post_max_size = 16M and upload_max_filesize = 16M in php.ini.
However, on my Digital Ocean Ubuntu 12.04 1G 64 Bit VPS with Sentora installed the upload is limited to about 750KB.
The max_execution_time and max_input_time in /etc/php5/apache2/php.ini have been set to 360, memory_limit = 128M.
I have also set
php_value upload_max_filesize 25M
php_value post_max_size 26M
php_value memory_limit 128M
in the domain root .htaccess as per your webmail app settings.
However, the limit stays at 750KB above which PHP returns an 'unprocessable entity' error.
Any help would be much appreciated.
I'm using HTTP POST from Javascript to PHP to upload image files. The file size limit on the local Windows WAMP server is adjustable by post_max_size = 16M and upload_max_filesize = 16M in php.ini.
However, on my Digital Ocean Ubuntu 12.04 1G 64 Bit VPS with Sentora installed the upload is limited to about 750KB.
The max_execution_time and max_input_time in /etc/php5/apache2/php.ini have been set to 360, memory_limit = 128M.
I have also set
php_value upload_max_filesize 25M
php_value post_max_size 26M
php_value memory_limit 128M
in the domain root .htaccess as per your webmail app settings.
However, the limit stays at 750KB above which PHP returns an 'unprocessable entity' error.
Any help would be much appreciated.