Author: 永夜
-
Post Views: 16 1. Install Laravel by running the create-project command on the command line by composer, and run the command:composer create-project –prefer-dist Laravel/Laravel Laravel, as shown in Figure 1 2. Generate directory: E:\wwwroot\Laravel, as shown in Figure 2 3. Using nginx, adding the following code to the website configuration will forward all requests to the index.php front-end controller, as…
-
Post Views: 14 1. Open:http://pecl.php.net/package/imagick/3.4.3/windows, download: 7.0 Thread Safe (TS) x64, as shown in Figure 1 2. After decompression, copy php_imagick.dll to C:\PHP-7.0.22\ext, as shown in Figure 2 3. Run: php-cgi.exe -b 127.0.0.1:9000-c c:/php-7.0.22/php.ini, error: php warning: php startup: Unable to load dynamic libraryc:/php-7.0.22/ext\php_imagick.dll, as shown in Figure 3 4. Open:https://www.imagemagick.org/script/download.php#windows, download: imagemagick-7.0.6-10-q16-x64-dll.exe, as shown in Figure 4 5. Installation:…
-
Post Views: 14 1. Open the URL:http://www.yii2-app-advanced.dev/, the error directory: E:\wwwroot\yii2-app-advanced/vendor\bower/jquery/dist does not exist, as shown in Figure 1 2. Open e:\wwwroot\yii2-app-advanced\vendor , and confirm that the directory bower does not exist, as shown in Figure 2 3. Check the composer installation prompt and find that the bower has been replaced with the bower-asset directory, which is normal, as shown…
-
Post Views: 12 1. In APM monitoring, due to Alibaba Cloud’s get URL/request, a large number of 404 responses are caused, which has a certain interference to the operation and maintenance work, as shown in Figure 1 2. Request in Postman:http://api.kaiqiu_shujujiexi_api.dev/, response 404, as shown in Figure 2 3. When the request is resolved to an empty route, the so-called…
-
Post Views: 43 1. When running the SQL file, an error is reported:[ERR]2013 – Lost Connection to MySQL Server During During Query, as shown in Figure 1 [错误]2013 – Loss of connection to mysql server during query 2. Open the directory C:\ProgramData\MySQL\MySQL Server 5.7, edit the my.ini file, as shown in Figure 2 3. Change max_allowed_packet=4m to max_allowed_packet=256m, as shown…
-
Post Views: 13 1. Back up the entire site file, use the FTP client, and copy the file from the server to the local machine, as shown in Figure 1 2. Log in to phpmyadmin and back up the database, as shown in Figure 2 3. Search in the background: Backup, and then select BackupwordPress to install, as shown in…
-
Post Views: 15 1. Define: Data Layer: Models are used to define data-related automatic verification and auto-completion and data access interfaces. Logic Layer: Logics is used to define data-related business logic. 2. Create a new logics directory in the common directory, which is used for the logical layer of the mysql model, as shown in Figure 1 3. Create a…
-
Post Views: 16 1. At 2017-06-18 19:36:00, that is, when the game starts, the response time of the application is 51.8ms, and the response time is normal, as shown in Figure 1 2. During the entire football game, the response time is increasing linearly, at 2017-06-18 20:30:00 to 2017-06-18 At 20:40:00, the response time decreased because the game was in…
-
Post Views: 11 1. The final expectation result is: modify the avatar in the player table, its value is: /storage/web/app/player_avatar/gzhou/579365.jpg, where gzhou is the value of the current record field TEAM_CODE, 579365 is the value of the current record field code, as shown in Figure 1 2. First modify the avatar of a record, and its SQL statement is successfully…