简体   繁体   中英

How to setup existing yii project in xampp on windows

I have yii framework project in server its running successfully.

but let me know how its setup xammp server(local) on windows. checked my self in this way:

  1. Changed php.exe file path local server path.
  2. Changed environmental variables also
  3. Run like this http://127.0.0.1/html and http://localhost/html

but its always says Object Not Found please suggest the procedure .

Check your .htaccess file. Default file content:

RewriteEngine On
RewriteBase /connect_donors
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php/$1 [L,QSA]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM