Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Php.ini - Default Settings Rate Topic   - - - - -

 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 466 posts

Posted 13 February 2018 - 09:39 PM #1

Hi,

 

CS-Cart team: please update/add the php requirements to your documentation especially for 'memory_limit':

 

http://docs.cs-cart....quirements.html

 

Fresh installations with default php.ini settings e.g. on cPanel with memory_limit of 64MB won't working.

 

Thanks


CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 

Posted 14 February 2018 - 07:21 AM #2

Hi,

 

CS-Cart team: please update/add the php requirements to your documentation especially for 'memory_limit':

 

http://docs.cs-cart....quirements.html

 

Fresh installations with default php.ini settings e.g. on cPanel with memory_limit of 64MB won't working.

 

Thanks

 

What was the error message that you got? And what is default php.ini?

 

memory_limit value depends on your store size and number of visitors. We usually recommend to set it to 256-512M, this should be enough for most installations.


Sincerely yours, CS-Cart Support Team

 

User guide       |  Developer documentation  |  Core API documentation


 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 466 posts

Posted 14 February 2018 - 01:34 PM #3

>> What was the error message that you got? And what is default php.ini?
 
We have deleted the error log currently but something like this:

 
Fatal error: Allowed memory size of xxxxxx bytes exhausted (tried to allocate xxx bytes)

>> memory_limit value depends on your store size and number of visitors.
 
It happens on both - CS-Cart and Multivendor as well. Both are demo installations with provided demo content.
 
>> We usually recommend to set it to 256-512M, this should be enough for most installations.
 
Ok, a good notice, but you should mention that within the installation documentation. Therefore I posted the link here.
 
Thanks

CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 10,223 posts

Posted 14 February 2018 - 11:12 PM #4

It's already set to 256M if the sever is a 64bit server running 64bit PHP.

Take a look at config.local.php

 

I'm guessing their assumption is that if you're running on an old 32bit server that you probably have a smaller store and your export/imports (biggest user of memory) will work within 64MB.  Not usually an issue on the customer side other than some image manipulations.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.