Hi ,
We resently noticed that we are getting an out of memory error in our dolphin script. The host insists its due to ini settings in dolphin not by server limitations, they suggest me to fix the code.
Can someone please explain me where should i edit these ?
Thank you
Udeni
|
Dolphin requires memory_limit for PHP be set to a minimum of 128M (256M is recommended).
I recommend you check the minimum requirements here, and see if your server meets them (you can view this information under Administration > Tools > Host Tools).
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
It is a ini setting.
PHP.INI to be exact which IS on the server side not the dolphin script.
The memory_limit setting in php.ini needs to be increased. But php.ini is not part of the dolphin script. It is server side. You can try creating a php.ini file placed in the root of your dolphin folder.
But seriously, if your host does not know this, then your host support are complete idiots that don't know how to host and you should find one that does. Every host should know how to do this.
https://www.deanbassett.com |
Hi,
Thanks for your reply. It is set to 128MB.
Here s the hosts, complete reply.
The memory_limit for the php processes on your cloud package is:
128M
The error you experienced seems to be caused because your script has ini_set which will limit it to use less than one MB for the execution. You should request from a local web developer to review all your website scripts and ensure that there are no ini_set functions added to override the global php configurations on the package. Unfortunately we do not offer such development services at this point.
Thank you
Udeni
|
What file by default within Dolphin would override the serverside php.ini?
My server php.ini is set for max file upload 128mb while on one of my sites, its still showing as 32mb...
Anyone know where this file is?
|
What file by default within Dolphin would override the serverside php.ini?
My server php.ini is set for max file upload 128mb while on one of my sites, its still showing as 32mb...
Anyone know where this file is?
Dolphin does not have a file for this. This is a server-side issue. Not a dolphin issue.
Settings for all sites are controlled within the servers main php.ini file. Which you only have access to on dedicated servers or VPS.
For shared servers the common method is to create a php.ini file in the root folder of each site you need to override settings for or remove any php.ini files in any sites folders that you want to use the servers defaults.
https://www.deanbassett.com |