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

173 Like 30 Dislike
Previous php-forum Next php-forum
Other php-forum

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

Email "$"
Hello!!

Any PHP guy with a bit of a knowledge in Flash ?

When I send a JPEG from flash

How do I send data using an html link
Hi

If I have
<a href="main_file.php">

How do I send data t

Attempt to assign property of non-object in...
I'm having issues with the following function in PHP 5...

function getTreeWithChildre

PHP Thumbnail Creation
Ok so i use this function to create thumbnails:

Code: function createthumb($name,$filename,$n

PHP and MySQL on intranet?
Is it possible to use both these on an intranet network?

Comma seperated implode & modifying returned string.
I have a PHP post form that posts up to 4 variables. I need whatever variables are passed to be comb

Sort a two dimensional array.
Hi. I've set up a two dimensional array that reads as follows:

Code: $modifiedData = array(

Change snippet to use CURDATE
I am using time() in the snippet below, I would like to use CURDATE() and have the database setup fo

Warning message
I've put a website that I was doing live and I'm getting this warning message when I try to add a ne

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