Hello,
I am running Tucows CCS PHP scripts on my server and it is not working. Whenever I try to perfrom any action e.g. new domain registration, it takes me to page where I see blank page ( All White ). I checked the error logs and came to know that its giving this message
" Allowed memory size of 8388608 bytes exhausted (tried to allocate 128 bytes) ".
Can any body tell what is this and how to make it correct?
TIA!
what is this error message
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: what is this error message
It means PHP is running out of memory (8MB). Do you have a recursive function in this script?amir wrote:Hello,
I am running Tucows CCS PHP scripts on my server and it is not working. Whenever I try to perfrom any action e.g. new domain registration, it takes me to page where I see blank page ( All White ). I checked the error logs and came to know that its giving this message
" Allowed memory size of 8388608 bytes exhausted (tried to allocate 128 bytes) ".
Can any body tell what is this and how to make it correct?
TIA!
Post the code.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
No, I mean your code. I'm guessing you've written some code in order to use this? If it's a script for download I doubt it would have such a major flaw as to overflow on memory usage. If it does I wouldn't use it but if you still want to use it trying increasing the max_memory_limit value in php.ini.amir wrote:I am sorry this code is encrypted ( i.e. TuCows CCS for Domain Management ) so I am not able to show it to you. I think this code should be optimized as written by a well known company. Please advise!
Thanks.
PHP 5.2.0 seem to have raised the default memory limit to 16MB anyway