Category: Programming Language
-
Post Views: 12 1. Under CakePHP 2.6.4, the error is reported: Error: Cannot usestringAs class name as it is reserved, as shown in Figure 1 2. String is the reserved name in PHP 7.x, so the String class in the Cake cannot be used on PHP 7.x, upgrade to the latest 2.x, and use CakeText instead, as shown in Figure…
-
Post Views: 13 1. I wrote a blog under PHP 5.6.27 before:https://www.shuijingwanwq.com/en/2017/09/11/10209/, this time under PHP 7.0.22, as shown in Figure 1 2. Uninstall memcached, you can use the following command: as shown in Figure 2 schtasks /delete /tn memcached 3. Delete the directory: C:\memcached-1.4.5, as shown in Figure 3 4. Open the URL:https://github.com/nono303/memcached/tree/master/cygwin/x64, download: cygevent-2-0-5.dll, cygwin1.dll, memcached-1.5.1.exe, as shown…
-
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: 76 1. Open the URL: https://wiki.swoole.com/wiki/page/7.html , check the environment dependencies, as shown in Figure 1 environment dependence Only supports Linux, FreeBSD, macOS, 3 types of operating systems Linux kernel version 2.3.32 or above php-5.3.10 and above, including php7 GCC4.4 or above or clang CMake2.4+, you need to use CMake when compiling to libswoole.so as a C/C++ library…
-
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 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: 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: 15 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…