are you ona shared host or a VPS
when peoploe talk about the root folder . they mean the one the that your domain starts at . ie where the home page is.
via FTP, for me that equates to httpdocs folder for others public_html (and many others )
so yif say your homepage is aindex.php or index.htm, then find the homepage location and that is where the phi.ini should be