Category: Windows 10

  • Post Views: 18 1. Composer has been installed before, to ensure the latest version is used. You can update Composer to version 1.9.2 by running composer self-update, as shown in Figure 1 2. Updating Yii 2 to the latest version by running Composer Update, the Yii Framework has been upgraded from version 2.0.15.1 to 2.0.31, as shown in Figure 2 3. View Yii Framework 2.0 upgrade instructions online:https://github.com/yiisoft/yii2/blob/2.0.31/framework/UPGRADE.md, understand the changes that may not be compatible, for example, extend some classes, and the properties and methods of these classes are adjusted in the new version. as shown in Figure 3…

  • Post Views: 16 1. Composer installation: nicolab/php-ftp-client reports an error: The requested php extension ftp is missing from your system, as shown in Figure 1 2. The Windows version of PHP has built-in support for this extension. Edit C:\PHP-7.2.14\php.ini, enable extension: FTP 3. Install again, the installation is successful, as shown in Figure 2

  • Post Views: 58 1. Refer to the Go guide, web server, write file: web-servers.go 2. Run in PowerShell: go run web-servers.go, report error: listen tcp 127.0.0.1:4000: bind: only one usage of each Socket address (protocol/network address/port) is normally permitted, as shown in Figure 1 3. Enter: netstat -ano in PowerShell, check all the port occupancy, and see that the port (4000) in the program is already active (in use) in another program. as shown in Figure 2 4. Port 4000 is occupied by the process number 313996, open the task manager, find the process with pid 313996, select – end…

  • Post Views: 11 1. Refer to the Go guide, web server, write file: web-servers.go 2. Accesshttp://localhost:4000/When prompted: The website cannot be accessed, as shown in Figure 1 3. Run in PowerShell: go run web-servers.go, visit againhttp://localhost:4000/When, the output: hello!, as shown in Figure 2  

  • Post Views: 12 1. Check the Go file: exercise-maps.go, the code is as follows 2. Run the file, Go reports an error: exercise-maps.go:4:2: Cannot find package “code.google.com/p/go-tour/wc” in any of: C:\Go\src\code.google.com\p\go-tour\wc (from $goroot) C:\Users\Administrator\Go\src\code.google.com\p\go-tour\wc (from $gopath), as shown in Figure 1 3. Open the URL of Go Tour on GitHub:https://github.com/golang/tour, after turning on the blue light connection, install the go tour based on the source code, and an error is reported: unrecognized import path “golang.org/x/tour”, ping golang.org, prompts the request timeout, as shown in Figure 2 4. Open the URL in Chrome:https://golang.org/, it can be opened normally, as shown in…

  • Post Views: 14 1. For Windows users, the Go project provides two installation options (except from the source code installation): The ZIP archive requires you to set some environment variables, and the experimental MSI installer will automatically configure your installation. Open URL:https://studygolang.com/dl, download the MSI installer, as shown in Figure 1 2. Download the file: go1.13.4.windows-amd64.msi, right-click -> install, as shown in Figure 2 3. Install the Go programming language AMD64 go1.13.4 to:, use the default value: C:\Go\ , as shown in Figure 3 4. Test your installation and check whether the GO is installed correctly by building a simple…

  • Post Views: 58 1. The resource list of my task, plan to add an export button at the head of the resource list, as shown in Figure 1 2. Search in github: yii2 export excel, the result: moonsoft/yii2-phpexcel, kartik-v/yii2-export, as shown in Figure 2 3. After comparative analysis, it is mainly considered from the richness of the supported export formats and the extension of the support for importing in the future, and the final decision is decided: Moonlandsoft/Yii2-phpExcel The export format of MoonLandsoft/Yii2-phpExcel: XLS, XLSX, XML, ODS, SLK, GNumeric, CSV, HTML Export formats of kartik-v/yii2-export: XLS, XLSX, CSV, HTML, TXT,…

  • Post Views: 13 1. On the develop branch in the local environment, execute the console command and report an error: as shown in Figure 1 2. Since this bug has been fixed in a single commit (EE8290) on the feature-netease branch, as shown in Figure 2 Therefore, it is decided to merge a single commit (EE8290) on the develop branch on the feature-netease branch based on TortoiseGit . 4. View the commit on the develop branch on GitLab, as shown in Figure 3 5. View the commit on the feature-netease branch on GitLab, as shown in Figure 4 6. In…

  • Post Views: 14 1. It is not available when switching to Sogou Wubi input method in Windows 10, that is, the task character cannot be entered, as shown in Figure 1 2. In the language settings, select the default input method, and its options are: use the language list (recommended), as shown in Figure 2 3. In the language settings, select the default input method, and reset its options as: Chinese (Simplified, China) – Microsoft Pinyin, as shown in Figure 3 4. It is already available when switching to Sogou Wubi input method in Windows 10, as shown in Figure…

  • Post Views: 15 1. In the console command of Yii 2.0, an error is reported: yii\db\exception: redis error: err Invalid DB index Redis command was: Select 29 in /vendor/yiisoft/yii2-redis/src/connection.php:736, view /console/runtime/logs/app.log 2. The analysis found that when executing the command: Select 29, switch to the corresponding database: 29 errors, and a Redis instance has 16 databases by default, from 0 – 15, it will report err if it exceeds this range. Invalid DB index, as shown in Figure 1 3. Edit redis.windows.conf and redis.windows-service.conf files, find: databases 16, modify to: databases 32 4. In Windows 10, stop and start Redis…

👨‍💻 Personal Brand

Wang Shiqiang | PHP & Go Technical Consultant

15+ years of backend development experience specializing in system maintenance, architecture optimization, performance tuning, and Linux administration.

Technical blogger since 2013 with 1,000+ original articles.

Available for consulting, long-term maintenance, and remote collaboration.

👉 About Me & Contact

.env (14) 404 (13) add (17) Aliyun (19) Apache (13) Array (19) browser (14) Cache (13) CentOS (23) chrome (18) Client (11) command line (13) composer (42) composer.json (22) composer install (13) composer update (14) console (14) Container (25) curl (15) Database (11) database migration (16) delete (32) Docker (31) Dockerfile (15) ECS (12) environment variable (20) error (24) escape (12) Failed (13) file (16) filter (20) fopen (11) FORMAT (12) function (13) Git (27) GitHub (16) Gitlab (15) Go (34) Go 1.26 (12) GraphQL (24) GraphQL API (14) hosts (11) http (21) https (20) Installation (13) Interface (19) Jenkins (12) Jquery (13) json (24) Laravel (36) Laravel 6 (56) Laravel 9 (25) Lighthouse (17) Lighthouse 5 (14) Linux (15) Memory (11) Migrate (13) Migration (11) Module (17) MySQL (76) MySQL 5.7 (21) Nginx (45) Node.js (12) normalize.css (29) OKX (15) PHP (63) php.ini (24) PHP 7.1.12 (22) PHP 7.4 (26) phpmyadmin (15) PhpStorm (24) Polylang (24) postman (18) Query (17) queue (16) Rancher (24) Redis (38) Refactoring (12) require (12) response (13) RESTful (27) RESTful API (23) rules (12) setting (12) Shell (13) Shopify (19) Shopify CLI (12) SQL (24) String (15) TortoiseGit (15) Ubuntu (35) update (20) VPN (13) Windows 10 (46) WireGuard (22) WordPress (48) Wstunnel (11) Yii (40) Yii 2 (70) Yii 2.0 (51)

June 2026
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930