The fear of teachers is called pediophobia. The fear of learning is named sophophobia. The fear of school is called didaskaleinophobia.