1.首先把代码上传到linux配置的目录中(如:/www/你的站点目录(如: /www/wwwroot/my.com/))
2.cd /www/你的站点目录( 如:/www/wwwroot/my.com.../my.com/frontend/web)
4.我使用的是centos7.0+nginx1.10+mysql5.7+php5.6,用的是宝塔面板,这个时候需要我开始php.ini中的open_basedir...=> false,
'rules' => [
],
]
],
];
'showScriptName' => false, // 禁用...index.php
'enablePrettyUrl' => true, // 启用 URL美化
'suffix' =>; '.html', // 在这里我们不配置,如果启用后缀,那么你的每个请求都会默认有...index.php 'enablePrettyUrl' => true, // 启用 URL美化 'suffix' => '.html', // 在这里我们不配置,如果启用后缀,那么你的每个请求都会默认有