Page 1 of 1

the file size exceeded the maximum size permitted by your PH

Posted: Mon May 31, 2010 12:22 am
by kskhater
I'm running PHP 3.5.1 on Mac OS 10.6.3. I need to increse the upload_max_filesize. I searched for php.ini which info.php says it is at /etc but could not find. I use the command line "locate php.ini" and this what I get:

/private/etc/php.ini.default
/private/etc/php.ini.default-5.2-previous
/private/etc/php.ini.default-5.2-previous~orig


Thanks in advance for your all your help.

Re: the file size exceeded the maximum size permitted by you

Posted: Mon May 31, 2010 2:37 am
by Eran
run phpinfo(), it will tell where the configuration is loaded from

Re: the file size exceeded the maximum size permitted by you

Posted: Mon May 31, 2010 2:47 am
by kskhater
I run phpinfo.php and it says the php.ini is in /etc but it is not there.

Re: the file size exceeded the maximum size permitted by you

Posted: Mon May 31, 2010 3:28 am
by Benjamin
If it's looking for it in /etc then copy /private/etc/php.ini.default to /etc/php.ini and then modify it as desired. You'll need to restart apache after making changes.

:arrow: Moved to Installation and Configuration

Re: the file size exceeded the maximum size permitted by you

Posted: Mon May 31, 2010 3:42 am
by kskhater
It is not looking for php.ini in /etc it is showing it is there but it is not. Also there is no difference between /private/etc and /etc both have the same file. I change php.ini.default to php.ini in /etc at changing it but php does not read.

There is something strange going on.

Thanks for you patient.

Re: the file size exceeded the maximum size permitted by you

Posted: Tue Jun 01, 2010 11:28 pm
by kskhater
This forum is not for such rubbish. Please do not post in it.

Thank you.