You are viewing revision #1 of this wiki article.
This is the latest version of this article.
Since version 5.4 PHP can work as a simple webserver so you can develop Yii applications without installing Apache. That's how to use it:
- Open command line and
cdto webroot (where yourindex.phpis). - Run PHP as webserver:
path/to/php -S localhost:8080
- That's it. Now you can work with your Yii project using
http://localhost:8080/.
You don't need any rewrite rules. Both clean URLs and path-style URLs are working just fine.
User Contributed Notes 1
new array style
about new array style, is it automatically works here?...
Leave a comment
If you have any questions, please ask in the forum instead.
Join the conversation to share a note.