Well this is a particular case. On one hand my teacher did have a phd and was a brilliant man. On the other hand I am Moroccan and English is my third language after Arabic and French, both of which tolerate the use of professor to refer to a teacher (Although they have words for both).