Accidentally removed source list directory

I was cleaning /etc/apt/sources.list.d/
because it had some sources for stuff I wasnt using anymore but I accidentally
removed the sources for php.
If someone could indicate me how I can add back the sources so I can update all the php
dependecies that would be much appreciated.
Thank you in advance !


We have the conf regenerator for that:
sudo yunohost tools regen-conf apt -dn

It will show you the differences it found. If you are satisfed with it, force the regeneration:

sudo yunohost tools regen-conf apt -f