Where do I find my php.ini in wordpress?

If you want to increase the max execution time on your WordPress site, or change any associated php.ini variables but do not know where to find it, follow this quick guide:


The php.ini should be in the wp-admin directory, if it isn’t there, you can just create it and then define whats needed, by default it should contain.

upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300

A “suped up” version could look something like this:

upload_max_filesize = 1000M
post_max_size = 1100M
max_execution_time = 600
memory_limit = 256M
max_input_vars = 3000
file_uploads = on

Of course, check with your hosting provider first.