I am new using Zend, I have a project, which I am asked to run through the Ubuntu console in the following way: php public/index.php , but when executing that line it shows me: "Reason for failure: Invalid arguments or no arguments provided " . I already tried to use type of routes, zf-console, I even ran the routes as: zf <my_path> , but it tells me that the name of the route is not a command.
I would appreciate if someone can guide me. Thanks.
You shouldn't worry. That response always comes out as long as you don't add specific commands, yours or third parties, which usually come out in the same console when you run the
index.php
.I add a couple of sample screenshots, for example with the Doctrine cli:
1st capture, when you execute the
index.php
without commands2nd screenshot, when you run the
index.php
with commandsAs you can see, as soon as you have commands available and working correctly, that message appears as long as you don't give specific instructions to the console.