the file size exceeded the maximum size permitted by your PH

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
kskhater
Forum Newbie
Posts: 4
Joined: Mon May 31, 2010 12:08 am

the file size exceeded the maximum size permitted by your PH

Post 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.
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

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

Post by Eran »

run phpinfo(), it will tell where the configuration is loaded from
kskhater
Forum Newbie
Posts: 4
Joined: Mon May 31, 2010 12:08 am

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

Post by kskhater »

I run phpinfo.php and it says the php.ini is in /etc but it is not there.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

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

Post 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
kskhater
Forum Newbie
Posts: 4
Joined: Mon May 31, 2010 12:08 am

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

Post 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.
kskhater
Forum Newbie
Posts: 4
Joined: Mon May 31, 2010 12:08 am

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

Post by kskhater »

This forum is not for such rubbish. Please do not post in it.

Thank you.
Post Reply