Jump to content

Sub php.ini files not recognized


Ursidae

Recommended Posts

I have several subordinate php.ini files that are not being recognized. For example in my main php.ini file the max_upload_filesize is 2MB. I have a script that uploads certain files that are usually larger than 2MB so I created a php.ini file that would be local to the php script and I set max_upload_filesize to 8MB.

I receive errors when I try to upload anything larger than 2MB.

I'm not sure what the problem is. Is there a setting I need to change either in Apache or the main php.ini file that allows lower level php.ini file to be used?

Link to comment
https://forums.phpfreaks.com/topic/152665-sub-phpini-files-not-recognized/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.