I am not following your post about the deleting a line. But in my experience even using Softaculous, which is my normal method of installing, I find I much go into my cPanel files manager and change the permissions levels on the files as indicated in the document.
Once I do that , then things work well for me.