为zend应用程序启动php服务器时出错


error while launching the php server for zend application

我从这里下载了zend骨架应用程序。然后我通过执行以下命令安装了它。

cd Desktop/zendprojects
git clone git://github.com/zendframework/ZendSkeletonApplication.git
cd ZendSkeletonApplication
composer self-update
composer install

然后我决定在本地启动它,所以我执行了这个命令:

php -S 0.0.0.0:8080 -t public/ public/index.php

我得到了这个错误:

Directory public/ does not exist.  

我检查了项目结构,文件结构中存在public目录。我该怎么修?

使用此:

php -S 0.0.0.0:8080 -t public public/index.php

尝试不使用"-t":php-S 0.0.0.0:8080 public''public''index.php

如果你在windows上,请在安装应用程序的文件夹中尝试:

php -S 0.0.0.0:80 -t .'public public/index.php