If you have problems as slow or 30 sec. [solution]

Author Message

Selmah Maxim

Tuesday 29 July 2003 2:43:50 am

Hi ..

I have class and its stand from ~41 attribute and alot of matrix and enum, each time I edit this class i got php error time extention, and ezp eat my cpu 100%, and also slow !

I found this solution maybe its helpful for someone !

For the time extention (30sec) we have max_execution_time in php.ini , no need to modify the php.ini, just add this in .htaccess :

php_value max_execution_time =70

the time in secends !

now , for the speed you increase the used memory for php , by memory_limit value , also add this in .htaccess :

php_value memory_limit =22

now I have no problem with the time, and ezp is take 90%-95% from cpu when i edit this class !

Also if you have probem with submitting you may add this also :

php_value max_input_time =70

hph.

Alex Jones

Thursday 31 July 2003 8:23:52 am

Thank you thank thank you!

This bit of knowledge has been extremely helpful!! I have some forms that require a ton of fields (no way around it) and I was running into timeouts too often.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Selmah Maxim

Thursday 31 July 2003 8:26:17 am

no problem ... i needed it becoz i have class which have ~45 input :)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.