basePath; $webRoot = $basePath.DIRECTORY_SEPARATOR.$root; echo "Yii dev server started on http://{$host}:{$port}/\n"; echo "Document root is \"{$webRoot}\"\n"; passthru('"'.PHP_BINARY.'"'." -S {$host}:{$port} -t \"{$webRoot}\"")."\n"; } }