Install phalcon dev tools 3.4

本秂侑毒 提交于 2020-06-29 03:36:17

问题


How can I install phalcon dev-tools 3.4 instead of 4?

My phalcon extension is v3.4.5, installed this version because version 4 has some problems with Ubuntu.

So these are the steps I did

  1. I git cloned from their official repo https://github.com/phalcon/phalcon-devtools.git

  2. Checked out to remotes/origin/3.4.x

  3. Then I run composer install, but I get the following error:

    The requested PHP extension ext-phalcon ^4.0.0 has the wrong version (3.4.5) installed. Install or enable PHP's phalcon extension.`


回答1:


composer require phalcon/devtools:3.4.12

or

you can clone it from here and then add it your path:

https://github.com/phalcon/phalcon-devtools/tree/v3.4.12

also check the discussion here if you ran into the handler class cannot be loaded issue



来源:https://stackoverflow.com/questions/61199931/install-phalcon-dev-tools-3-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!