I use ssh to upload my web application base on PHP. but when i upload new file as same name it still process on old one then I must restart server every time when I update my PHP file.
How can I config PHP or how to restart apache on shell commnad?
Bad solution. My question is easy but you can’t support anymore. I suggest you shoud close this community if you can’t answer simple question like this.
And then restart apache with the following command:
/usr/local/modules/script/apache restart web
This will disable the caching. Until the next restart of your NAS probably. Perhaps I should write an app for that, but until that has happened, this will have to do.