Hi all, i have this error when I load phpLdapAdmin (@stephdl module) page:
Warning: require(): Unable to allocate memory for pool. in /usr/share/phpldapadmin/htdocs/index.php on line 52
Warning: require_once(): Unable to allocate memory for pool. in /usr/share/phpldapadmin/lib/functions.php on line 248
Notice: Undefined variable: _SESSION in /usr/share/phpldapadmin/lib/page.php on line 379
Fatal error: Call to a member function getValue() on a non-object in /usr/share/phpldapadmin/lib/page.php on line 379
Now that you asked me, I had a doubt and I checked.
Some time ago, I installed php-apc to test it with wordpress, but then I never used it and uninstalled it.
This happened before installing phpLdapAdmin.
So far, I don’t remember having never found this problem.
Do you think this is the cause?
According to some web search the error is related to php (or cache) memory.
You can try to increase the php memory limit. If using the stock php version:
For display exact APC memory usage i have copied /usr/share/pear/apc.php to /usr/share/phpldapadmin/htdocs/apc.php and load http://your-server-here/phpldapadmin/apc.php.
source for apc settings and display APC cache information: