php - Server modifications happen after restart, why? -
why whenever make changes files within server, change after giving restart php?
i using amazon server nginx php-fpm.
the command updates happen is:
php-fpm service restart
edit:
the problem occurring cache.
when restart php service, modifications entered
i suppose changing configuration files , come affect after restart service.
this because in linux whenever service start read configuration parameters configuration files , starts run per configurations. ex if service logging /var/log/abc
start logging there. , no matter how many times change conf file after service write logs file only. when change configuration files service need restarted read changed parameters , start running according parameters.
although services allow runtime paramter changes. not in number.
some applications allow reload them instead restart read configuration parameters on runtime , change according them. can way service <name_of_service> reload
Comments
Post a Comment