I have configured Wordpress locally on my system(Windows 7 professional). I want to upload a theme to test it, but whenever I tried to upload the theme with more the 1MB. It shows me the error which read as:
The uploaded file exceeds the upload_max_filesize directive in php.ini.
As per stackexchange's previous question answers I made a text file renamed as php.ini with code and pasted in Wp-admin folder but still it is not working. The added code to the file is mentioned below:
memory_limit = 32M upload_max_filesize = 32M post_max_size = 32M file_uploads = On
but still getting the same error. What to do?