Can I eat here?/ Is it ok to eat here? in Japanese


I went to Japan and want to ask the food vendors whether I can eat in front of
his shop.  
Basically, I want to say "Can I eat here? or Is it ok to eat here?"  
I know that

> ここ = Here  
>  食べる = Eat  
>  大丈夫 = All Right / Okay

but I am not sure how to put them together?




It can be also

> ここで食べてもいいですか？

or more casually

> ここで食べてもいい？

