I’m looking to increase the moh file upload limit and I’m told I can alter the php.ini file. Could someone point me in the direction of where to locate this file in a FreePBX 14 distro? Thank you!
[[email protected] ~]# locate php.ini /etc/php.ini
I’ve not used the locate command before. Very helpful! Thank you
You can also place a snippet in a .ini file in the /etc/php.d/ directory, and it will override anything in php.ini.
I changed the max to 4M but I still receive the following error when trying to upload a moh. Maybe one can’t get around the limit
File size is too large. Max size is 2097152 bytes
In php.ini I made the following change
; Maximum allowed size for uploaded files.
upload_max_filesize = 4M
restart httpd service
Intriguing. That did seem to work. I tried a fwconsole r and fwconsole restart with no luck. Thank you!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.