How to disable php for a particular user on the server?

⌘K

Put the following code in .htaaccess file for that user as:
php_flag engine off

OR

In httpd.conf file,for that particular domain, put the following code in >directory> as

<directory>
php_admin_flag engine off
</directory>