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

upload form file types....
Hey all, I am learning PHP and I am writing a script from the W3C Schools tutorials for uploading fi

Any meaningful project for a new C++ programmer?
I want to do some meaningful program, so I can help myself to learn

Assume I know the fol

Anti Spam Code Problems
Ok where do i start? Probably by telling you I have very little working knowledge of PHP and that I

Dynamic links in an include file
I am working on a small piece of code that counts records from a database and displays the result to

Problem executing bash script using shell_exec
Hi there,
I created a bash script file using following code to convert doc documents to pdf using

how can i make a .gif images for my site
Dear Friends ,

Pls solve my problem , I am starting making new site but i dont know how can i

I need to increse 6hours more, and i don't know how???
I need to increse 6hours more, and i don't know how???
<tr>
<t

IF Statement & Two Tables With Different Echoes
I'm retrieving two tables in a single query using UNION ALL, like so:

Code: $query = "SE

Using insert variable
need a way to inert variable data to mysql database

$acc = "212121212";
$nok =

Problems with adding a link to one position in a 'foreach' loop, please help
Hello!

Iam pretty new to programming and I wanna create a table with users from an array. It

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