We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Problem with install developper tools

HI,

I followed the instruction available there:

https://phalcon.io/en/download/tools

I have the following result:

D:\Sources\xampp\htdocs\test>curl -s http://getcomposer.org/installer | php All settings correct for using Composer Downloading... Composer successfully installed to: D:\Sources\xampp\htdocs\test\composer.phar Use it: php composer.phar D:\Sources\xampp\htdocs\test>php composer.phar install Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1

  • Installation request for phalcon/devtools dev-master -> satisfiable by phalcon/devtools[dev-master].
  • phalcon/devtools dev-master requires ext-phalcon ~2.0 -> the requested PHP extension phalcon has the wrong version (2.1.0r) installed. To enable extensions, verify that they are enabled in those .ini files:
  • D:\Sources\xampp\php\php.ini You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.

The phalcon version installed on my server is:

phalcon Web framework delivered as a C-extension for PHP phalcon enabled Author Phalcon Team and contributors Version 2.1.0r Build Date Mar 23 2016 00:33:33 Powered by Zephir Version 0.9.2a-dev

Can you help me?



3.1k
Accepted
answer

HI,

Thank you for your help, I found another solution: Open Shell:

Windows + R, cmd

Then:

cd YouRootFolder
git clone https://github.com/phalcon/phalcon-devtools.git
cd phalcon-devtools

Edit phalcon.bat:

set PTOOLSPATH="D:\YourRootFolder\phalcon-devtools\"

In Shell:

set PATH=%PATH%;D:\YouPHPFolder\php
set PATH=%PATH%;D\YourRootFolder\phalcon-devtools

Verify by:

php - v
phalcon


80.6k

When generating the command "Phalcon webtools enabled"- I have an error creating the webtools.php file. What can I do?



80.6k

How to configure web tools on windows Phalcon 2.10? Hi I have a command errror to ejectuar Phalcon enable webtools

Warning: copy("C:\phalcon-devtools-master\\"/webtools.php): failed to open stream: Invalid argument in C:\phalcon-devtools-master\scripts\Phalcon\Web\Tools.php on line 399

Success: Webtools successfully enabled!

Could anyone solve this error? I've got the same. I'm using Phalcon 3.1

How to configure web tools on windows Phalcon 2.10? Hi I have a command errror to ejectuar Phalcon enable webtools

Warning: copy("C:\phalcon-devtools-master\"/webtools.php): failed to open stream: Invalid argument in C:\phalcon-devtools-master\scripts\Phalcon\Web\Tools.php on line 399 Success: Webtools successfully enabled!

Hi, I have this error in my cmd when i want to use phalcon devtools: ERROR: Please run composer install

I cloned phalcon devtools from git and followed all instructions in https://github.com/phalcon/phalcon-devtools. My php version is 7.2.17 and i am using version 4 of phalcon. please help me.