Devtool not outputing on windows

commands "phalcon" , "phalcon commands", or "phalcon commands help" are not outputting , and can't use the devtool .



46.9k

Its probably not in your PATH environment variable if you can't get the command to show up at all. If you can run the command but not receive output than likely it is throwing an exception which is being logged to a error log file or for some reason error messages are disabled in the PHP CLI SAPI (CLI, Apache Mod, FPM). Maybe Phalcon is not enabled for the CLI SAPI as you need to sometimes enable the extension in each SAPI configuration. There are many ways that PHP is delivered on Windows so its difficult to say how it is setup.

Thanks for the answer, please could you tell me where to find that error log file and where to enable the CLI SAPI. I'm noob when it comes to the server settings.

Its probably not in your PATH environment variable if you can't get the command to show up at all. If you can run the command but not receive output than likely it is throwing an exception which is being logged to a error log file or for some reason error messages are disabled in the PHP CLI SAPI (CLI, Apache Mod, FPM). Maybe Phalcon is not enabled for the CLI SAPI as you need to sometimes enable the extension in each SAPI configuration. There are many ways that PHP is delivered on Windows so its difficult to say how it is setup.



46.9k
edited Jun '16

How did you install PHP? Did it come with a full stack package like WAMP? Its impossible for me to automatically know where your logs files are stored.

I installed it with wamp. 2.5

How did you install PHP? Did it come with a full stack package like WAMP? Its impossible for me to automatically know where your logs files are stored.



46.9k
edited Jun '16

Come from the dark side. I also started with WAMP but then I realized that I could accidentally destroy planets with my mood. Come to Linux. We will love you a lot in a very ~~non-gay~~ not-necessarily gay way. It is good.



46.9k

So then just look up "Wamp 2 PHP error logs".

I installed it with wamp. 2.5

How did you install PHP? Did it come with a full stack package like WAMP? Its impossible for me to automatically know where your logs files are stored.

Very recommend you switch to Vagrant - it bring the linux on you windows machine with power of virtualization. You will eliminate many problem in future, that may cause from OS incompatibles (believe me, it would). https://www.vagrantup.com/

And it works great with Phalcon. There is already have special box with phalcon: https://phalconphp.com/en/download/vagrant

Spend a few hours now - save many days and mental health in future.



46.9k

Surely some form of virtualization is in order and probably for starters VirtualBox is pretty good whether you use it directly with VirtualBox client or Vagrant. SSH is a good tool to learn and with it you can remote into your "real" servers regardless if they are on your local box or on the production cloud server.

Lots of tools to learn. Sorry, such is life.