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?
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