Is there any restriction on php version for JQM?

Is there any restriction on php version for JQM?

Hi!
I'm having problem using jquery mobile on php version 5.2.11. Any linking page using ajax it is not working, It shows -Error londing page- and I getting internal error 500 from server.

Linking internal pages and linking pages without ajax (data-ajax="false")work fine.

I can't find any information about any restrictions on php nor a similar issue.

Does anyone have a clue about it?
Thanks,