I have 500.19 error when trying to host a PHP application

I've tried to add the IIS_IUSRS group and permissions to it, but when I added it the site stopped working, maybe the problem is that the group is empty. Can you tell me please what should I do?
Well, not only IIS-IUSRS, you can also try giving read/write access to these accounts to the root folder of your Web application and all files/subs within:
NETWORK and NETWORK SERVICE.
Just check if the solution in this similar case work for you.