I downloaded phpStorm and WebStorm for the first time an after I tried out WebStorm I camr to the conclusion that it is impossible to edit php file in phpStorm. When I double click a php file it always opens the file with an other program. I don't have this problem with other files like .js or .html only php seems to be a problem. Also when I try to make an new php file or class file phpStorm always give me the same error 'Unable to parce template "PHP file" : Cannot create files from text : name test.php .....' (I made a screenshot of the error).
Also I opened a project I was working on that includes php files with WebStorm before I tried out phpStorm, when I double clicked a php file for the first time it asked how to open this file,there I selected to open the php files with the default application. I don't know if this is the cause of the problem, but I think it is worth mentioning that.
How can I fix this problem so I can open en edit php files with phpStorm. I tried all kinds of things but until now with no result.
I have this problem with the OSX version (95.98), I tested it also on windows but there it seems not to be a problem.