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

phalcon command error

Hi,

I followed install tutorial for Developer Tools and get the following error while executing "phalcon commands" :

ERROR: The environment variable PTOOLSPATH is outdated! Current value: "C:\phalcon-tools". New value: C:\phalcon-tools

Phalcon-tools location : C:\phalcon-tools

phalcon.bat :

@echo off
set PTOOLSPATH="C:\phalcon-tools"

php %PTOOLSPATH%\phalcon.php %*

Any idea please ? Thanks !



39.2k
Accepted
answer

Hmm.. Try

set PTOOLSPATH=C:\phalcon-tools


2.5k

Yes it works...

Thanks dude !



8.0k

Have same error ERROR: The environment variable PTOOLSPATH is outdated! Current value: "z:\OpenServer\domains\server\trunk\vendor\phalcon\devtools\". New value: Z:\OpenServer\domains\server\trunk\vendor\phalcon\devtools

From the context it is clear what needs to be done. Isn't it?

edited Mar '17

same problem in windows (10)

Solution: in phalcon.bat remove " from PTOOLSPATH

@echo off

set PTOOLSPATH=%~dp0\

php %PTOOLSPATH%phalcon.php %*