error while launching the php server for zend application

I downloaded zend skeleton app from here. Then I installed it by executing the following commands.

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

Then I decided to launch it locally, so I executed this command:

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

And I got this error:

Directory public/ does not exist.  

I checked project structure and public directory exists in the file structure. How can I fix it?

Answers


Use this :

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

try it without "-t": php -S 0.0.0.0:8080 public\ public\index.php


if you are on windows try this in the folder where you have the app installed:

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

Need Your Help

How to make MFCC algorithm?

algorithm detection signal-processing fft voice

I wanna make the Mel-Frequency Cepstrum Algorithm but there are some things that I don't understand.

laravel mongodb nested collection relationship

php mongodb laravel collections eloquent

i am using laravel mongodb collection in that i have some relationship issues