heydoon Posted December 10, 2017 Posted December 10, 2017 I just moved my IPS forum from a shared hosting to a centos vps. It has 1 core 4gb of ram. Is this enough for IPS??? 90% of the time loading the root page I get allowed memory size limit exhuasted. in system/Text/Parser.php and system/Data/AbstractData.php Site is very very slow and I'm stuck. Any help is very appreciated.
heydoon Posted December 10, 2017 Author Posted December 10, 2017 Centos 6 with Cpanel & Apache. PHP 5.6
heydoon Posted December 10, 2017 Author Posted December 10, 2017 ini_set( 'memory_limit', '128M' ); this seemed to temporarily fix it. Obviously there is still some underlying issue that I'm not sure of...
Stuart Silvester Posted December 10, 2017 Posted December 10, 2017 Your PHP memory limit should be 128M, this is the PHP default. Any less than that and you may have issues.
heydoon Posted December 10, 2017 Author Posted December 10, 2017 My php.ini is set to 128m. Do I have to set the memory limit in conf_global like I did above? That's the only way it seems to work
Stuart Silvester Posted December 10, 2017 Posted December 10, 2017 1 hour ago, heydoon said: My php.ini is set to 128m. Do I have to set the memory limit in conf_global like I did above? That's the only way it seems to work No, not if it's set properly on your server. I would recommend uploading the following file (revert your change to conf_global.php) and making sure that your server is properly configured for Invision Community 4.
heydoon Posted December 10, 2017 Author Posted December 10, 2017 26 minutes ago, Stuart Silvester said: No, not if it's set properly on your server. I would recommend uploading the following file (revert your change to conf_global.php) and making sure that your server is properly configured for Invision Community 4. Thanks Stuart I was editing the wrong php.ini . Appreciate it.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.