Rumah >pembangunan bahagian belakang >tutorial php >Flarum 安装
<codecourier new monospace font-size: border-radius: border: none background-color: transparent>location / { try_files <span>$uri</span><span>$uri</span>/ /index.php?<span>$query_string</span>; } location /api { try_files <span>$uri</span><span>$uri</span>/ /api.php?<span>$query_string</span>; } location /admin { try_files <span>$uri</span><span>$uri</span>/ /admin.php?<span>$query_string</span>; } location /flarum { deny all; <span>return</span><span>404</span>; } location ~ .php$ { fastcgi_split_path_info ^(.+.php)(/.+)$; fastcgi_pass unix:/<span>var</span>/run/php5-fpm.sock; fastcgi_index index.php; <span>include</span> fastcgi_params; }</codecourier>
<codecourier new monospace font-size: border-radius: border: none background-color: transparent>mail_driver: smtp mail_host: <span>...</span>mail_port: <span>...</span>mail_username: <span>...</span>mail_password: <span>...</span>mail_encryption: <span>...</span></codecourier>
以上就介绍了Flarum 安装,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。