By 木易哥哥
智者精选,每天获取励志认知能量 www.5izhjx.com
1.在与index.php文件同级目录(web目录)下添加文件“.htaccess”
IndexIgnore */*
RewriteEngine on
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php
RewriteRule . index.php
2.在工程目录运行命令 C:\Bitnami\wampstack-5.5.31-0\php\php.exe init 初始化