hosting yii2 web app using ispconfig

Discussion in 'Installation/Configuration' started by nsangujm, Aug 6, 2015.

  1. nsangujm

    nsangujm New Member

    Dear Member,

    I have yii2 web application I want to host in digital ocean server running ispconfig as control panel.

    Have uploaded files, but cannot view the site on the browrse,

    please advise if there is a special procedures for yii web apps.
    Note: yii is a framework for php applications.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which error do you get in the browser and which error do you get in the error.log of the website?
     
  3. nsangujm

    nsangujm New Member

    Thanks Till for response, below is the error.

    [Thu Aug 06 04:05:53 2015] [error] [client 188.138.17.205] File does not exist: /var/www/strawcom.net/web/sitemap.xml
    [Thu Aug 06 04:14:51 2015] [warn] [client 197.250.130.171] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_OBJECT_OPE
    RATOR in /var/www/clients/client1/web1/web/index.php on line 12
    [Thu Aug 06 04:14:58 2015] [warn] [client 197.250.130.171] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_OBJECT_OPE



    Thanks
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    There is a php code / programming error in the index.php file on line 12.
     
  5. nsangujm

    nsangujm New Member

    Thanks till,
    Let me check the code and will get back soon.
     

Share This Page