How to rewrite url by htaccess with replace question, equal sign & dot php from url?

I want to rewrite my url. At this moment my url is…
http://www.ais19.com/users.php?id=4
but I want to rewrite to this url…
http://www.ais19.com/users/id/4

but how it is possible in easy way ?