From 7fa18c54964dcbbb1f32b1fc17a3cc3807f44613 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Sat, 11 Jan 2014 22:34:40 +0100 Subject: [PATCH] use symlinks instead of hardlinks to make __FILE__ work fixes #1606 --- docs/guide/installation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/installation.md b/docs/guide/installation.md index 099ebb8fa0..0cb6979a74 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -78,10 +78,10 @@ access `http://hostname/path/to/yii-app/requirements.php` in your browser. If you are using Linux you can create a hard link to make it accessable, using the following command: ``` -ln requirements.php ../requirements.php +ln -s requirements.php ../requirements.php ``` -For the advanded app the `requirements.php` is two levels up so you have to use `ln requirements.php ../../requirements.php`. +For the advanded app the `requirements.php` is two levels up so you have to use `ln -s requirements.php ../../requirements.php`. Yii 2 requires PHP 5.4.0 or higher. Yii has been tested with the [Apache HTTP server](http://httpd.apache.org/) and [Nginx HTTP server](http://nginx.org/) on Windows and Linux.