Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I find my php.ini on wordpress?

Tags:

php

wordpress

I want to increase max execution time on my wordpress site. I know I should edit php.ini, but can't seem to find it!

any tips?

like image 477
Maha Avatar asked May 29 '11 02:05

Maha


People also ask

How do I check my PHP config in WordPress?

Go to your website's admin panel. Select Plugins > Add New. search for phpinfo() WP by Imran Hossain Sagor. Click Install Now button. Then simply click Active.

How do I know PHP ini?

Check php. ini in CLI (Command Line Interface): To know about php. ini, simply run on CLI. It look for Loaded Configuration File in output for the location of php.


2 Answers

I see this question so much! everywhere I look lacks the real answer.

The php.ini should be in the wp-admin directory, if it isn't 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 
like image 120
Brad Fletcher Avatar answered Oct 09 '22 20:10

Brad Fletcher


Wordpress dont have a php.ini file. It just a cms, look into your server. for example if you use XAMPP in windows xampp\php\php.ini is the location.

like image 29
realhdx Avatar answered Oct 09 '22 20:10

realhdx