mvc-thinkphp Build website backend, portal file not found (unable to load)

Source: Internet
Author: User


And this is where I project the approximate structure

Here is the entry file index.php
if (Version_compare (php_version, ' 5.3.0 ', ' < ')) {

die('require PHP > 5.3.0 !');

}

Open Debug mode suggest the development phase to open the deployment phase comment or set to False
Define (' App_debug ', true);
Defining the App Catalog
Define (' Bind_module ', ' admin ');//This is the definition of the binding Admin template found on the TP manual
Define (' App_path ', './application/');

Introducing the thinkphp entry file
Require './thinkphp/thinkphp.php ';

, this is define (' Bind_module ', ' Admin '); After the comment is dropped, the normal display of the page


This is define (' Bind_module ', ' Admin '); no comment, error


Binding admin Template, unable to enter background portal file

Content a bit more, in fact, the problem is one: thinkphp framework how to build the site background (Admin Portal file such configuration? )

Reply content:


And this is where I project the approximate structure

Here is the entry file index.php
if (Version_compare (php_version, ' 5.3.0 ', ' < ')) {

die('require PHP > 5.3.0 !');

}

Open Debug mode suggest the development phase to open the deployment phase comment or set to False
Define (' App_debug ', true);
Defining the App Catalog
Define (' Bind_module ', ' admin ');//This is the definition of the binding Admin template found on the TP manual
Define (' App_path ', './application/');

Introducing the thinkphp entry file
Require './thinkphp/thinkphp.php ';

, this is define (' Bind_module ', ' Admin '); After the comment is dropped, the normal display of the page


This is define (' Bind_module ', ' Admin '); no comment, error


Binding admin Template, unable to enter background portal file

Content a bit more, in fact, the problem is one: thinkphp framework how to build the site background (Admin Portal file such configuration? )

No input file specified. Seems to be fast-cgi设置 the problem, with what server, Apache or Nginx affixed 配置文件 .

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.