vBulletin 2.3.0 - Recently, when users try to upload files greater than about 1 mb as attachments, I have been getting the following error:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2324150 bytes) in /home/cust1/username/html/forum/admin/db_mysql.php on line 281
My service provider keeps telling me stuff like this:
Thank you for contacting technical support regarding your issue. The error you reported indicates that your script is exceeding your PHP process memory limit on the server. Because these limits are in place to ensure the performance and stability of the entire server, we cannot modify them for your account. We apologize for the inconvenience. We recommend that you consult with your programmer or the developer of your application for suggestions on how to implement file uploads in a less memory-intensive fashion.
In other words, blame it on somebody else.
I could swear this was working up until recently. The forum has been running for several years. They swear up and down they haven't changed anything (but they've done it in the past and been wrong before).
I verified with php_info():
upload_max_filesize = 2 MB
memory_limit = 8 mb
post_max_size = 8 mb
My max upload size in the forum settings is 3 mb.
Anyway, I'm on a shared server, I don't feel like moving the site at the moment, any ideas what I can do?
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2324150 bytes) in /home/cust1/username/html/forum/admin/db_mysql.php on line 281
My service provider keeps telling me stuff like this:
Thank you for contacting technical support regarding your issue. The error you reported indicates that your script is exceeding your PHP process memory limit on the server. Because these limits are in place to ensure the performance and stability of the entire server, we cannot modify them for your account. We apologize for the inconvenience. We recommend that you consult with your programmer or the developer of your application for suggestions on how to implement file uploads in a less memory-intensive fashion.
In other words, blame it on somebody else.
I could swear this was working up until recently. The forum has been running for several years. They swear up and down they haven't changed anything (but they've done it in the past and been wrong before).
I verified with php_info():
upload_max_filesize = 2 MB
memory_limit = 8 mb
post_max_size = 8 mb
My max upload size in the forum settings is 3 mb.
Anyway, I'm on a shared server, I don't feel like moving the site at the moment, any ideas what I can do?
Comment