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

vagrant machine

Hello Community,

I am interested in using phalcon for an upcoming project. Right now I installed it once on a virtual machine and created a small "learning-project".

I want to use phalcon in my next bigger project, thats why I'd like to get a easier to handle developement enviroment. The last project (laravel) I took part in used vagrant to share a base among all participants.

I would be pleased to use vagrant aswell for my upcoming project but I am rather new to this technology and my efforts in setting up a working vagrant machine with phalcon failed.

On my search for a working solution the following github repository attracted my interest: https://github.com/phalcon/vagrant Sadly it was not working for me, I am getting a bunch of errors while setting up the machine.

I am looking for a simple (but working ;)) vagrant machine including Nginx/apache, php, phalcon, phalcon devtools. Does anybody here have something I could use or would help me to create a vagrant machine according to the needs I mentioned?

I would be grateful for any kind of help, Best Regards, Ludwig

Please use English. If you do not know English, you can use Russian.

Please use English. If you do not know English, you can use Russian.

I am sorry for the wrong language, I edited my first post to fit the language requirements.

edited Jun '16

What errors you have ? I don't have any. To be honest you can pretty much use any php/nginx etc machine, installing phalcon shouldn't be such a complicated and wasting time task :D

What errors you have ? I don't have any. To be honest you can pretty much use any php/nginx etc machine, installing phalcon shouldn't be such a complicated and wasting time task :D

https://pastebin.com/Gn64FNBf

If I still try to create a project following those steps: https://github.com/phalcon/vagrant#create-a-phalcon-project

I get this error:

ERROR: Phalcon extension isn't installed, follow these instructions to install it: https://docs.phalcon.io/en/latest/reference/install.html

I have managed to get it done manually installing a working phalcon machine. But what I want is a working vagrant machine to make it easiert to handle the developement enviroment, which probably is not complicated for an intermediate phalcon user but for a beginner it is.

Have you used latest master branch from phalcon/vagrant?

Have you used latest master branch from phalcon/vagrant?

Yes I tried the latest master branch aswell as the one without the last commit. Both ended with the same error.



39.2k
Accepted
answer

@LudwigBr Thanks for reporting. FIxed in master branch.

@LudwigBr Have you checked?

@LudwigBr Have you checked?

Sorry for my long absence. Yes I did, your fix worked as intended, thank you very much ;)