Photo upload size
I have php.ini file to be able to upload 7m. Post_max_filesize and upload_max_filesize are set to 7M. I have checked to see which php.ini is being used and it is indeed mine. Trying to upload photo still states 2mb max and will not allow bigger files.
-
- · tech66
- ·
Check again: Studio - Dashboard - Host Tools - Server Audit
There is information about the current php settings.
-
- · Jeremy
- ·
Thanks but I know how to check that. That's why I'm asking if Andrew Boon or Alex T⚜️ or another team member might know why the php.ini isnt reflecting the changes I've made in Una.
-
-
·
Alex T⚜️
-
·
In reply to Jeremy
- ·
tech66 is right you need to check server audit page for the real values for these settings.
Also you can open the following URL on your site http://your-site-url.com/path-to-una/studio/dashboard.php?action=phpinfo
To see phpinfo and where is php.ini for UNA is located by checking "Loaded Configuration File" value. -
·
Alex T⚜️
-
- · Jeremy
- ·
I've done this already. That is why I know which file to edit. It's not reflecting the changes in UNA.
Configuration File (php.ini) Path /etc/php/7.2/apache2
Loaded Configuration File /etc/php/7.2/apache2/php.ini -
- · Jeremy
- ·
Baloo and I troubleshooting this issue and he posted a link to some info. This is what fixed it.
In my loaded php.ini config , my error_reporting values is E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED-> this is wrong!, so i changed it to error_reporting: E_ALL and then restart apache2 server, now everything working fine !
The production value for error reporting is E_ALL. Since php.ini sees that as an error to have all the values...it defaults to 8M post and 2M upload
Big thanks to Baloo
-
- · Baloo
-
·
In reply to Jeremy
- ·
With pleasure, happy to have been able to help you :-)