php - Does symfony overwrire max_execution_time for its tasks? -


in php.ini, max_execution_time set 30 , cli, 0.

whenever execute php script through cli, max_execution_time set 0 correctly. whenever execute symfony task, max_execution_time 1200.

i checked have not reset max_execution_time anywhere in application. seems symfony overwriting max_execution_time.

if has idea how can resolve problem whenever execute symfony task, gets failed whenever execution time exceeds 1200.

symfony version: 1.4

php version: 5.4.19

os: fedora 19

code sample:

symfony task:

    <?php     class sampletask extends sfbasetask     {         protected function configure()         {             $this->namespace           = 'cron';             $this->name                = 'sample';     eof;         }         protected function execute($arguments = array(), $options = array())         {             echo ini_get('max_execution_time');die;         }     }     ?>    on executing php symfony cron:sample, prints 1200. 

php script:

    <?php         echo ini_get('max_execution_time');     ?>    on execution php sample.php, prints 0. 


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -