basically what I am trying to do is rewrite localhost/app/test/create.php to localhost/app/test/create/ which I am capable of doing with the last line of my htaccess but it's not working for me. So obviously I missing something important here

So my htaccess looks like this.

RewriteEngine On
RewriteBase /app/
RewriteRule ^index\.php(.*)$ $1 [R,L,QSA]
RewriteRule ^(.*)/index\.php$ $1/ [R,L]
//this next line does kind of what I want to do... but I get Not Found instead of the page being served.
RewriteRule ^(.*)/(.*)\.php$ $1/$2/ [R,L]