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