YII Framework Isse on windows server.

Hello Everyone,

I have developed one Web application for automatic SMS alerts. I have Used YII framework for this. My Web application is working properly in Local System, But when I have uploaded my this website to server, it does not run on the URL.

My Cpenal PHP version is 5.2.17, so is this due to PHP version?

Some other developer suggested me that I need to publish this website before uploading it, How can i do this, Please give some guidance.

I also get the suggestion to give permission to Assets and runtime folder, if this issue is there, then how can i give permission to these folders?

Yes. Yii 2 requires at least 5.4. If you can get PHP 7, that’s perfect.

Thank you so much. I am finding following error, can yo please check the following erroe While I am running my code : Warning: Unexpected character in input: ‘\’ (ASCII=92) state=1 in C:\Servx\aemonindia.com\ss.aemonindia.com\admin\backend\web\index.php on line 10

Parse error: syntax error, unexpected T_STRING in C:\Servx\aemonindia.com\ss.aemonindia.com\admin\backend\web\index.php on line 10

Yes, that’s a sign that you PHP version is lower than 5.4.