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

need to add "sizes" to shopping cart
Hey guys, I am trying to figure out a way to add a "size" selector on to this bit of code.

newbie error
what is wrong with this code ?

<html>
<body>

<?

TinyMCE / Ajax Postback Problem
Hiya all,

I have a page which loads the TinyMCE editor. On the postback I obviously want to f

Login Issue's
Code: <?php
$file = fopen('user.txt', 'r');

/* Set login to false initially */

Request.UrlReferrer
I need to make it so that a page can only be loaded when a button is clicked on a specific page. I d

LIMIT $start, 10... how to pass last value queried into next page with GET??
Ok I know how to display the first or last 10 results of a query...

$result = mysql_query(&q

Hi, explode and strstr.
Hi, I seem to be confused about the strstr function, eg. i have a string like:
"a.b.c.d.e.f&

PHP onsubmit in the form not going to the fuction.
I have a form through ‘onsubmit’ calling a function validation(). But not going to the

Trouble verifying database password
Thankyou to everyone who responded to my last post (I can't find the posting, it has been buried). <

limitations on array_unique()
Does any one know what/how imitations are applied to array_unique? I have an issue where no matter h

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