可以换个payload来试试,之前在做题pWnOS2.0.7的时候,因为kali版本比较新,开始选择的payload为php/meterpreter_reverse_tcp,或者php/meterpreter/reverse_tcp都不好用,得到跟你一样的提示,后来换成php/reverse_php就能得到正确的shell了。
the "shell" command is not supported by this Meterpreter type (php/php)?
shell