If you are installing WordPress theme from the WordPress Dashboard and get a message that says “Are you sure you want to do this?” , this means that your web server is configured with PHP settings that are too low to allow the theme ZIP file to upload. Specifically, PHP is configured to a maximum file upload size limit at 8 megabytes or less. The theme ZIP is about 10 megabytes in size, The web server is rejecting the upload. WordPress is giving you a rather ambiguous message in response. This is not a theme fault or bug.
There is two ways to solve this type of problems:
- You can either get your web server to increase your upload_max_filesize to 32M or more
- You can upload the extracted theme package via an FTP client to wp-content/themes directory.
You can verify your PHP configuration limits by installing a simple plugin called WordPress phpinfo().
Recommended PHP configuration limits:
- max_execution_time 90
- memory_limit 256M
- post_max_size 32M
- upload_max_filesize 32M
They are required for dummy data installation too.