Tahir,
I followed your instructions and modified the php.ini file from 2M to 64. I also edited the wp-config.php and entered the following at the bottom of the file:
define(‘WP_MEMORY_LIMIT’, ’64M’)
I am still getting the error. “The uploaded file exceeds the upload_max_filesize directive in php.ini.”