Virtual Appliance can't yiic

I am testing Virtual Appliance on VMWare. It works well, but just for app demonstration, not development demonstration (yiic does’t work).

Yiic working in Virtual Appliance should be useful for trainings, my case.

Is there a way to use it?

yiic sort of works in the appliance, but its has some sort of buffering in the output. The command line PHP is actually the cgi interface. I will work on fixing this and release a better image. I’m try to get mysql working.

hmm…great!! good news, thanks wei!

Also, I found out a problem with yiic shell

If I do:

yiic webapp /www/web/newapp

yicc webapp /www/web/newapp/index.php

It will return the following error:


<!DOCTYPE html PUBLIC

        "-//W3C//DTD XHTML 1.0 Transitional//EN"

        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

<title>Internal Server Error</title>


<style type="text/css">

/*<![CDATA[*/

body {font-family:"Verdana";font-weight:normal;color:black;background-color:whit                               e;}

h1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }

h2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }

h3 {font-family:"Verdana";font-weight:bold;font-size:11pt}

p {font-family:"Verdana";font-weight:normal;color:black;font-size:9pt;margin-top                               : -5px}

.version {color: gray;font-size:8pt;border-top:1px solid #aaaaaa;}

/*]]>*/

</style>

</head>


<body>

<h1>Internal Server Error</h1>

<h2>session_start() [&lt;a href='function.session-start'&gt;function.s                               ession-start&lt;/a&gt;]: Cannot send session cookie - headers already sent</h2>

<p>

An internal error occurred while the Web server was processing your request.

Please contact the webmaster to report this problem.

</p>

<p>

Thank you.

</p>

<div class="version">

2009-07-27 21:09:06 </div>

</body>