I have hosting over scaleway, centOS installed with vestacp.
I am trying to modify max_execution_time setting, i edited php.ini files via ssh but when i check the phpinfo() it shows loaded configuration file (none) and settings are not changed.
But when i check over ssh, it shows loaded configuration file as etc/php.ini
How can i make the configuration file loaded?
Thanks
Put this statement on top of your script set_time_limit(40); where 40 is number of seconds. If set to zero, no time limit is imposed.
Ok, i found the answer myself :)
I changed Vesta - Web - domain.com - web template to default so php started using Apache instead CGI/FastCGI.
It successfully loaded php.ini also i can edit from vesta panel.
Regards
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.