I am new in yii2 , in my office I work on Yii2.0 in ubuntu. And there is no issue at all. But when ever I copy my project any try run it in my windows system. It shows an fatal error…
And it indicates to the line below…
kindly give me resolution cause I am stuck in between some important thing…
Thank you in advance.
When you get a general PHP error (not something related to Yii in particular), it’s usually a good idea to just search for the error message on google (or your favourite search engine).
I already mentioned the reason of the error…
(new yii\web\Application($config))->run(); -----this line…
So I am just asking the way to get rid of this…
You should google it with the following keywords:
And the following S.O. topic looks valid for your case.
Check the version of your PHP.