I am new in yii2, When I extract yii2 advanced content from an archive with "basic application template", "Yii 2 with advanced application template" and when I upload on server, it's showing blank page.
I checked yii2 basic it's working fine but only in case of advance template getting blank page.
The advanced template url is like: ../advanced/frontend/web/index.php?r=site
But getting Error: No input file specified.
on Apache Server, getting this error:
Not Found The requested URL advanced/backend/web/index.php was not found on this server.
I tried installing from composer as well as from an archive but getting same and no index file exists inside backend/web/ and frontend/web/.
Edit:
As Jichao suggested, I tried making subdomain which points to the advanced/backend/web, But still the problem is same.
Scrrenshot:
backend.domain.com
and point it to the root directoryadvanced/backend/web
could helps. the new access url shouldbackend.domain.com
. – Jichaoindex.php
in the directory that you pointed the host to. Check where you bound the domain, then go and check if there is index.php there. Upload other file (smth like 1.txt) to that dir to make sure that apache is working properly. Try something, move. – Viacheslav