In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Install phalcon development tools
Download: https://github.com/phalcon/phalcon-devtools first
After downloading, extract it.
. [root@localhost web] # cd phalcon-devtools-3.2.12
[root@localhost phalcon-devtools-3.2.12] # 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: / web/phalcon-devtools-3.2.12
Generating symlink...
Done. Phalcon Developer Tools installed!
Thank you for using Phalcon Developer Tools!
We hope that Phalcon Developer Tools helps to make your life easier.
In case of problems: https://github.com/phalcon/phalcon-devtools/issues
And: https://forum.phalconphp.com
To start using Phalcon Developer Tools you need to run 'source / root/.bash_profile'
/ web/phalcon-devtools-3.2.12/phalcon.sh: line 150: php: command not found
[root@localhost phalcon-devtools-3.2.12] # php-v
Bash: php: command not found
When the above error is reported, no path is added.
Therefore, php-v will report an error.
Through phpinfo (), we can see that the php directory is at: / usr/local/php/etc/php.ini.
Cd / usr/local/php
The bin directory inside.
Add the / usr/local/php/bin directory to the PATH
Modify:
Cd ~
What I have here is the / root directory. You should pay attention to using your own.
Vim .bash _ profile
Add a sentence.
Export PATH=$PATH:/usr/local/php/bin
After saving.
Source / root/.bash_profile
[root@localhost ~] # source / root/.bash_profile
[root@localhost] # php-v
PHP 7.2.4 (cli) (built: Apr 24 2018 22:31:16) (NTS)
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
With Zend OPcache v7.2.4, Copyright (c) 1999-2018, by Zend Technologies
Now go back to the directory of phalcon development tools: that's fine!
[root@localhost phalcon-devtools-3.2.12] # phalcon.sh
Phalcon DevTools (3.2.12)
Available commands:
Info (alias of: I)
Commands (alias of: list, enumerate)
Controller (alias of: create-controller)
Module (alias of: create-module)
Model (alias of: create-model)
All-models (alias of: create-all-models)
Project (alias of: create-project)
Scaffold (alias of: create-scaffold)
Migration (alias of: create-migration)
Webtools (alias of: create-webtools)
Serve (alias of: server)
Console (alias of: shell, psysh)
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.