tatocaster Posted October 20, 2014 Share Posted October 20, 2014 Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 130968 bytes) in xxx/public_html/includes/dbfunctions.php on line 0 I'm trying to write custom Domain Registrar module. Using localAPI function ruins everything, and comes blank page with this error. Also , after this I cant login to admin panel. Error occurs at all localAPI call.. I found solution to rewrite some functions with custom queries, to select and so on but its' very bed experience. Plz help. memory_limit is 256M now, and it's quite large for PHP. Thanks 0 Quote Link to comment Share on other sites More sharing options...
imaticon Posted October 20, 2014 Share Posted October 20, 2014 Recommended is 128M and 256M is ok as well. If you got fatal error for allowed memory size, then you should review your custom php coding and improve it 0 Quote Link to comment Share on other sites More sharing options...
tatocaster Posted October 21, 2014 Author Share Posted October 21, 2014 Recommended is 128M and 256M is ok as well. If you got fatal error for allowed memory size, then you should review your custom php coding and improve it I even resized to 512M, and with custom coding it works well I said that error occurs when calling LocalAPI. simply as in documentation. just copy and paste and changed variables for testing 0 Quote Link to comment Share on other sites More sharing options...
Hemraj Patil Posted April 18, 2020 Share Posted April 18, 2020 For this issue: You should be updated your local value of "memory_limit" Goto your cPanel hosting account (i am use namehero) Find the "MultiPHP INI Editor" bellow "Configure PHP INI basic settings" select your domain Find " memory_limit " and update the value of right side textbox(Defaul 32M in mycase...i was update 48M) 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.