i am getting memory limit error while loading some of the pages of my website.
My issue is, i don't have rights to modify memory_limit in php.ini so is there any other way to override this settings ?
I am getting following error.
Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 122880 bytes) in /xx/xx/xx/plugins/otbcCompanyPlugin/lib/model/om/BaseOtbcCompanyCompanyPeer.php on line 1567
i tried:
ini_set('memory_limit', '512M');
echo ini_get('memory_limit');exit; // prints 90M
And i tried following in .htaccess
<IfModule mod_php5.c>
php_value memory_limit 512m
</IfModule>
and
<IfModule mod_php.c>
php_value memory_limit 512m
</IfModule>
but didn't work.
you can check phpinfo().
so is there anything missed by me ?