Where is my php.ini???

Posted on 16th Feb 2014 by admin

Hi

First off - apologies - i'm not a coder so this may sound very amateur.

I'm having an issue with files being uploaded via a submission form. Files under 2mb are fine. Files over 2mb are not. I've deduced that this is being caused by a setting (upload_max_filesize) in php.ini. I ran php.info and the information from there seems to corroborate this:

upload_max_filesize 2M (local) 2M (master)
post_max_size 8M 8M

I assume if i want to allow files of up to 50MB to load that i need to change these settings. Now - the problem - where do i find this ini file?

The php.info says its located:

Configuration File (php.ini) Path /usr/lib
Loaded Configuration File /usr/local/lib/php.ini

So, how exactly do i access this? And if i change those settings, do i need to modify anything else?

Is max_input_time or max_execution_time going to affect large files as well??

Thanks

Other forums