You asked:

what causes photophobia in meningitis

Sorry, I don't yet have an answer to that question.