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.
the file size exceeded the maximum size permitted by your PH
Moderator: General Moderators
Re: the file size exceeded the maximum size permitted by you
run phpinfo(), it will tell where the configuration is loaded from
Re: the file size exceeded the maximum size permitted by you
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
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.
Moved to Installation and Configuration
Re: the file size exceeded the maximum size permitted by you
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.
There is something strange going on.
Thanks for you patient.
Re: the file size exceeded the maximum size permitted by you
This forum is not for such rubbish. Please do not post in it.
Thank you.
Thank you.