Jump to content

Setting Max_Execution_Time


Recommended Posts

First off Store information

 

 

Server information

Server information: Linux #31~precise1-Ubuntu SMP Tue Feb 4 21:25:43 UTC 2014 x86_64

Server software version: Apache

PHP version: 5.4.24

Memory limit: 128M

Max execution time: 300

PageSpeed module for Apache installed (mod_instaweb)

Database information

MySQL version: 5.5.34

MySQL engine: InnoDB

Tables prefix: ps_

Store information

PrestaShop version: 1.5.6.2

Shop URL: https://performancestore.performanceunlimited.ca:8080/prestashop/

Current theme in use: default

 

I have been trying to change the max_execution_time

I have changed the php.ini file  

 

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
 
 
max_execution_time = 6000
max_input_time = 600
max_input_vars = 3000
memory_limit = 1G
 
 But this seems to have no effect on the settings as shown by Advanced Parameters - Configuration Information.  

 

I have a 83700 product csv file to import. Right mow it will only import 4098 products , then quit with no warnings or errors

 

In Prestashop 1.5.6.2 where do you set max_execution_time and memory_limit?

 

Thanks Steve

Link to comment
Share on other sites

also you can use this free module to run your phpinfo from back office it's useful in that it tells you where php.ini is being executed (so you know if you changing the right one) and will display after setting in config are set. 

 

http://www.prestashop.com/forums/topic/278164-free-module-display-php-environment-phpinfo-back-office/

 

note: just because we can change the php.ini there may be limits set by our hosting company that override this so if you do not see the  results you expect try contacting your hosting company as well.

Link to comment
Share on other sites

I found it

 

./prestashop/conf.httpd-app.conf

 

<IfModule php5_module>
    php_value memory_limit 1024M
    php_value max_execution_time 44000
    php_value max_input_time -1
    php_value upload_max_filesize 25M
    php_value post_max_size 20M
    php_value max_input_vars 10000
</IfModule>
 
This seems to have fixed the problem
 
 Thanks
 
Steve
  • Like 2
Link to comment
Share on other sites

  • 2 years later...
  • 1 year later...
Hello
I have the same problem
do I need to upload products, 65 k
and update every day 10 k

 

I tried these solutions, but they do not work

 

This is very old topic here.

You will find proved server settings solution for about 20k products here:

PS 1.6. - https://www.prestashop.com/forums/topic/633856-server-requirements-tested-in-production-for-ps-16/

PS 1.7. https://www.prestashop.com/forums/topic/633857-server-requirements-for-ps-17/

For to update products you should go with csv direct import into database for ex. with Presta Store Manager automatic csv import, i.e. use the webservice api.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...