In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Today, I would like to share with you the relevant knowledge of how to use swoole-cli. The content is detailed and the logic is clear. I believe most people still know too much about this knowledge, so share this article for your reference. I hope you can get something after reading this article. Let's take a look at it.
The latest swoole-cli supports the Windows environment and is based on cygwin64 implementation and can be downloaded and used.
download
A newly installed Windows machine (must be a 64-bit system) does not need to install any php-related software packages, you can download the swoole-cli-cygwin64 executable zip package directly, and then extract it to any directory.
Swoole-cli is installation-free and can be used directly
Use
First, you need to configure the unzipped folder / bin directory into the system's Path environment variable.
Enter cmd using win+r to enter the Windows command line, and you can use the swoole-cli command to execute swoole or php programs.
Expansion
Swoole-cli contains various commonly used extensions, which are listed below:
If you want to add extension to swoole-cli, you can submit issue on swoole's official github home page.
The php version used by swoole-cli is 8.1.1
D:\ > swoole-cli-m [PHP Modules] bcmathbz2CorectypecurldatedomexiffileinfofiltergdgmphashiconvimagickjsonlibxmlmbstringmysqlimysqlndopensslpcrePDOpdo_mysqlpdo_sqlitePharposixredisReflectionsessionSimpleXMLsoapsocketssodiumSPLsqlite3standardswooletokenizerxmlxmlreaderxmlwriterxslyamlzipzlib [Zend Modules] start the Web server
Write the simplest Web service for testing, with the file name server.php:
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.