cant create project skelton after successfully installed phalcon

FOLLOWING ARE THE ERRORS IN PHALCON COMMAND PHPINFO SHOWS ME THAT PHALCON IS INSTALLED

[email protected]:/opt/lampp/htdocs$ phalcon ERROR: Phalcon extension isn't installed, follow these instructions to install it: http://docs.phalconphp.com/en/latest/reference/install.html [email protected]:/opt/lampp/htdocs$ php -v PHP 5.3.10-1ubuntu3.11 with Suhosin-Patch (cli) (built: Apr 4 2014 01:30:04) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies [email protected]:/opt/lampp/htdocs$ php5 -r "phpinfo();" | grep "phalcon" PTOOLSPATH => /home/ovtech003/.local/share/Trash/files/phalcon-devtools/ PATH => /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/ovtech003/phalcon-devtools:/opt/lampp/htdocs/phalcon-devtools:/opt/lampp/htdocs/phalcon-devtools:/opt/lampp/htdocs/phalcon-devtools:/opt/lampp/htdocs/phalcon-devtools:/opt/lampp/htdocs/phalcon-devtools:/opt/lampp/htdocs/phalcon-devtools:/opt/lampp/htdocs/phalcon-devtools:/opt/lampp/htdocs/phalcon-devtools:/home/ovtech003/.local/share/Trash/files/phalcon-devtools _SERVER["PTOOLSPATH"] => /home/ovtech003/.local/share/Trash/files/phalcon-devtools/ _SERVER["PATH"] => /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/ovtech003/phalcon-devtools:/opt/lampp/htdocs/phalcon-devtools:/opt/lampp/htdocs/phalcon-devtools:/opt/lampp/htdocs/phalcon-devtools:/opt/lampp/htdocs/phalcon-devtools:/opt/lampp/htdocs/phalcon-devtools:/opt/lampp/htdocs/phalcon-devtools:/opt/lampp/htdocs/phalcon-devtools:/opt/lampp/htdocs/phalcon-devtools:/home/ovtech003/.local/share/Trash/files/phalcon-devtools [email protected]:/opt/lampp/htdocs$ cd /home/ovtech003/.local/share/Trash/files/phalcon-devtools/ bash: cd: /home/ovtech003/.local/share/Trash/files/phalcon-devtools/: No such file or directory [email protected]:/opt/lampp/htdocs$

[email protected]:/opt/lampp/bin$ git clone git://github.com/phalcon/phalcon-devtools.git Cloning into 'phalcon-devtools'... remote: Reusing existing pack: 6937, done. remote: Total 6937 (delta 0), reused 0 (delta 0) Receiving objects: 100% (6937/6937), 2.78 MiB | 113 KiB/s, done. Resolving deltas: 100% (2985/2985), done. [email protected]:/opt/lampp/bin$ cd phalcon-devtools/ [email protected]:/opt/lampp/bin/phalcon-devtools$ ls composer.json ide phalcon.bat phalcon.pear phalcon.sh resources templates docs package.xml phalcon-completion.bash phalcon.php README.md scripts webtools.php [email protected]:/opt/lampp/bin/phalcon-devtools$ ./phalcon.sh Could not open input file: /home/ovtech003/.local/share/Trash/files/phalcon-devtools//phalcon.php [email protected]:/opt/lampp/bin/phalcon-devtools$ sudo ./phalcon.sh Phalcon Developer Tools Installer Make sure phalcon.sh is in the same dir as phalcon.php and that you are running this with sudo or as root. Installing Devtools... Working dir is: /opt/lampp/bin/phalcon-devtools Generating symlink... Done. Devtools installed! [email protected]:/opt/lampp/bin/phalcon-devtools$ phalcon ERROR: Phalcon extension isn't installed, follow these instructions to install it: http://docs.phalconphp.com/en/latest/reference/install.html [email protected]:/opt/lampp/bin/phalcon-devtools$



30.4k
edited May '14

Hi, looks like you have pb with your path: " /home/ovtech003/.local/share/Trash/files/phalcon-devtools//phalcon.php "

echo $PTOOLSPATH

echo $PTOOLSVAR

and check what is outputed ...

[email protected]:~$ echo $PTOOLSPATH /home/ovtech003/.local/share/Trash/files/phalcon-devtools/ [email protected]:~$ echo $PTOOLSVAR

[email protected]:~$

please somebpdy help...............

why my development tools is not getting installed despite repeated attempt