How to create a new thinkphp project in the SAE environment

Source: Internet
Author: User
How to create a new thinkphp project in the SAE environment

To create a new project locally, follow these steps:
!--? phpdefine (' Think_path ', './thinkphp/');d efine (' app_name ', ' Wechat ');d efine ( ' App_path ', './wechat/');d efine (' App_debug ', true);//define (' Sae_runtime ', true);d efine (' engine_name ', ' SAE ');   Require Think_path. ' thinkphp.php ';  

Then display--"Manually generate project directory under SAE Environment ~"

Manual means create a new series of folder files in the SAE environment? Or is it that the local auto-generated method was built and then uploaded to the SAE?

(My SAE thinkphp is installed by selecting the thinkphp (SAE engine) in the SAE application warehouse, so is there any hidden danger? )


h2> Reply to discussion (solution)

because the SAE does not have file write permission, so you need to create manually, you can use SVN upload

because the SAE does not have file write permission, so you need to create manually, you can use SVN upload


manually created when what meaning?

because the Sina cloud is very sensitive to the operation of the file and does not allow the user to manipulate the file through the code, as you say: either manually by "edit Code" or by using SVN to import the project locally, File operations such as folders are generated locally, and then uploaded to the Sina cloud. Thinkphp seems to be able to switch smoothly online, but I haven't tried it. ,,

  • 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.