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

Settings Phalcon-devtools projects created in root/

I could install the extension of Phalcon with the support of Serghei Yakovlev.

now install very easy Phalcon-devtools but projects creates it in the /root directory and not in nginx preconfigured path: /usr/share/nginx/html :(



39.2k
Accepted
answer

Can you please use:

$ phalcon create-project myproject --directory=/usr/share/nginx/html/ --type=simple # micro, simple, modules

Please note, you must have have sufficient rights to create a directory here /usr/share/nginx/html/

thanks again :)