i think you can do it by associating php files as html in that directory, so any php code will just be outputted to the browser as code
create a file called .htaccess, and in it put
AddType application/x-html .php
note, i said think - i'm not entirely sure
or, you could just chmod the directory to not allow execution