Author: 永夜
-
Post Views: 15 1. Under PHP 7.0.22 and CakePHP 2.10.3, error: the datasource configuration tmp was not found in database.php., as shown in Figure 1 2. Print $this->UsedbConfig, its value is TMP, as shown in Figure 2 3. Make sure that $tmp does not exist in database.php, as shown in Figure 3 4. However, it was normal to confirm in…
-
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: 14 1. Windows version, it is Windows 10 home Chinese version, does not support Hyper-V, as shown in Figure 1 2. Open the URL:https://docs.docker.com/docker-for-windows/install/#what-to-know-before-you-install, if your system doesn’t meet the requirements to run Docker for Windows, you can install Docker Toolbox, Dockbox Toolbox uses Oracle Virtual Box instead of Hyper-V, as shown in Figure 2 3. Click the…
-
Post Views: 14 1. Tap event triggered 2 times in Zepto, as shown in Figure 1 2. Output a message to the web console to determine the trigger 2 times, as shown in Figure 2 console.log(1); 3. View the output on the web console, 1 is output 2 times, as shown in Figure 3 4. The server interface is called…
-
Post Views: 14 1. Since too large SQL files cannot be imported in phpmyadmin, I decided to import them in mysql query browser, as shown in Figure 1 2. The SQL file size is: 186MB, as shown in Figure 2 3. Click the Execute button to execute the script, as shown in Figure 3 4. During the execution process, the…
-
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: 12 1. In the Chrome browser, browse the official Swoole document, use the mouse to select the part, the background color is too light, it is gray-blue, and the contrast with the text color is not obvious enough, as shown in Figure 1 2. Open the Chrome extension to get more extensions, as shown in Figure 2 3.…
-
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…