Tag: .dev
-
Post Views: 14 1. When executing the command: php artisan larabbs:calculate-active-user, an error is reported: classredisnot found. as shown in Figure 1 2. The cache is used in this command, and redis is used as the cache driver. Edit the .dev file and add: redis_client=predis 3. Execute the command again: php artisan larabbs:calculate-active-user, no more errors are reported. as shown…
-
Post Views: 17 1. When the environment of the application running is the development environment, that is, when the value of yii_env is dev, close the schema cache and edit environments/dev/common/config/main-local.php 2. When the application running environment is the production environment, that is, when the value of yii_env is prod, turn on the schema cache, edit environments/dev/common/config/main-local.php 3. After enabling…
-
Post Views: 17 1. The data structure of HTML is as follows, and now it needs to be extracted: video description. . . . , that is, the data in the first p tag 2. Search on github: yii2 html dom, and finally choose: garyjl/yii2-simple_html_dom, as shown in Figure 1 3. Execute the command: composer require –prefer-dist garyjl/yii2-simple_html_dom “*”, the…
-
Post Views: 47 1. On the morning of the first day after Google Chrome is upgraded to 63, open: http://www.cmcp-backend.dev/ , automatically jump to: https://www.cmcp-backend.dev/ , as shown in Figure 1 2. Open the URL: https://chromium-review.googlesource.com/c/chromium/src/+/669923 , it is .dev gtld preloads hsts, as shown in Figure 2 3. One of the solutions is: the local development machine can provide…