All the guys are right. I am just bringing the the current soultion with the images.
File
-> Settings
In the box in the top right corner type in line numbers
, just below that choose Editor
->Appearance
, from the right checkboxes, find Show line numbers
and check it.
After that hit Apply
and OK
That should do the trick.
My version of PhpStorm is 6.0.3