简体   繁体   中英

Set PHP configuration settings in application.ini

I forget how I can set PHP configuration settings from the application.ini of Zend Framework.

I want to set max_execution_time variable.

Help me please.

You can use application.ini to set any of the settings that can be set using the ini_set() directive, there is a list of them here .

In your case you are replacing the set_time_limit() function which changes max_execution_time.

So you want to put this into your application.ini

phpSettings.max_execution_time = 20

将此添加到您的application.ini中

phpSettings.max_execution_time = 30;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM