How can i restart apache?

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?

Thankyou.

PS. I use My Cloud EX2 ultra

Hello cosciisoft,

I would suggest you to contact WD support for more information on this concern.

Refer the link mentioned below for contact information.