The photodecomposition of ketene under interstellar conditions and how the resulting photofragments may recombine in the 3-300 K temperature range could play an important role in investigations related to astrochemistry and astrobiology. Using a combination of bulk ice and rare-gas matrix isolation studies coupled to Fourier transform infrared (FTIR) spectroscopy, this work aims to understand the vacuum ultraviolet (VUV) photochemistry of CH2CO in solid phase to mimic the photochemistry of organic species trapped in the icy interstellar grains. We show that the photolysis of CH2CO depends strongly on the environments where it is trapped...