Increase PHP file upload limit

I tried uploading a large file from Flash to php back end and got the following error:

PHP Warning: POST Content-Length of 18348279 bytes exceeds the limit of 8388608 bytes

It’s self explanatory, my PHP installation by default only allows up to 8MB of data to be uploaded to the server. To solve this you need to change the following 2 variables in php.ini file:
post_max_size = 8M
and
upload_max_filesize = 2M

Marko