Mechanistically, placebo can only work on psychosomatic symptoms. There isn't any magic going on. If the problem is in your head, then thoughts can maybe help.
Your head largely controls the rest of your body. If you take a placebo that you expect to make you angry, your levels of adrenaline will likely rise. There are all sorts of measurable, physiological changes that can be induced by placebo.
The recent paper on brain memory in immune response suggests this is no longer common wisdom. We just don't know. Evolution twists a lot of random wires together.