Tag: php5.6
-
Post Views: 59 1. Reference URL: https://commaster.net/content/installing-memcached-windows, as shown in Figure 1 2. Download: http://downloads.northscale.com/memcached-1.4.5-amd64.zip, as shown in Figure 2 3. Unzip to: C:\memcached-1.4.5, as shown in Figure 3 4. Run Windows PowerShell as an administrator, as shown in Figure 4 5. Execute the following command to add memcached to the task plan table: as shown in Figure 5 schtasks…
-
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: 14 1. Copy\vendor\yiisoft\yii2\console\controllers\cacheController .php to \console\controllers\luagameteamskillController.php, as shown in Figure 1 2. Rename \console\controllers\luagameteamskillcontroller.php to \console\controllers\luagameteamskillcontroller.php, as shown in Figure 2 3. Modify the namespace to namespace console\controllers;, and the class name is modified to luagameteamskillController, as shown in Figure 3 4. Only keep ActionIndex(), other methods are deleted, as shown in Figure 4 5. In Windows PowerShell,…
-
Post Views: 52 1. In Windows Powershll, enter the wwwroot directory, as shown in Figure 1 2. Through the Composer installation, run the following commands and install it in the kaiqiu_shujujixi_api directory, as shown in Figure 2 and 3 composer create-project yiisoft/yii2-app-advanced kaiqiu_shujujixi_api 2.0.10 3. Enter kaiqiu_shujujixi_api directory, right-click, select git bash here, as shown in Figure 4 4. Execute…
-
Post Views: 14 1. When the debugging session is started, a set of debugger windows will be opened under the main editor window. In the debugger window, it keeps prompting waiting for the connection (netbeans-xdebug), as shown in Figure 1; 2. Analysis and discover the “debugging” tab of the “php” option, the session ID (session ID). Any name of the…
-
Post Views: 13 1. Based on the authorization of WeChat webpage, the nickname obtained: 🌵yangqin🍬✨, as shown in Figure 1: 2. The relevant information of WeChat users obtained, as shown in Figure 2: 3. The first solution, in order to make mysql support the storage of letters, modify the collation as: utf8mb4_general_ci, as shown in Figure 3: 4. The execution…
-
Post Views: 41 1. Open: https://github.com/hprose/hprose-php/blob/master/readme_zh_cn.md, download hprose for php; 2. Take http://www.hprose1.com/http_server.php as the server, and the running result is shown in Figure 1: 3. Take http://www.hprose2.com/http_client.php as the client, the running result is shown in Figure 2: An error is reported: 4. Set in the php.ini file: always_populate_raw_post_data = -1, with http://www.hprose2.com/http_client.php as the client, the result of…