We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

setup devtools

Hi

I follow below guide https://docs.phalcon.io/en/latest/reference/mactools.html to install devtools

I have under /Applications/MAMP/htdocs/phalcon/tools/ this package : https://github.com/phalcon/phalcon-devtools

Then I have create a simbolic link on /usr/bin/phalcon

but phalcon comand are still not found :(

.profile file have below content:

export PATH=$PATH:/Applications/MAMP/htdocs/phalcon/tools

export PTOOLSPATH=/Applications/MAMP/htdocs/phalcon/tools

any suggestions?

When I point browser to https://localhost:8888/phalcon/tools/webtools.php I got below errors:

Warning: require(webtools.config.php): failed to open stream: No such file or directory in /Applications/MAMP/htdocs/phalcon/tools/webtools.php on line 23

Fatal error: require(): Failed opening required 'webtools.config.php' (include_path='.:/Applications/MAMP/bin/php/php5.5.10/lib/php') in /Applications/MAMP/htdocs/phalcon/tools/webtools.php on line 23

thanks!



16.3k
  1. u can add the directory of phalcon-devtools directory to your php include path.
  2. have you create project with parameters '--enable-webtools' ? eg:
phalcon project project_name --enable-webtools