Where is my php.ini???


Posted on 16th Feb 2014 07:03 pm 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

No comments posted yet

Your Answer:

Login to answer
173 Like 30 Dislike
Previous forums Next forums
Other forums

Is there a quick way to do this?
Hi all,

I need to create a mysql table from php that goes a little something like this

Keeping data in form
How can I keep whatever I write in the form?

How to add an image/C++ OpenGL?
Hi,

I have been trying to look online for this and, so far, I haven't found anything usef

php file erros / need help please
Hello

Someone decoded a zend file for me.. after uploaded it on ftp i get some errors, i trye

Variable Clash
In the past I've had variables clash. For example:

Code: <?php
$c = 5;
$ca

a multi dimensional array with for each
hi, I have been asked to write an array, I have Zone 2,3,4,5,6,7,8 each zone has 3 sections of weigh

frames get header location..
i have two frames, one top, one bottom. how do i do a form on the bottom frame that gives me the ur

Undefined variable: adHTML
Hello:

While checking my site error logs, I've noticed one repetitive error that fills the lo

Syntax Help
I'm trying to make a form that edits a php file which contains config settings. I'm using strings t

Save data in input fields when they press "BACK BUTTON"
Hi, this is html form: And let's say they get a error "Please enter ur title must be more then

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash