Category: Alibaba Cloud
-
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: 19 1. Enter the CentOS server based on Xshell 6, compress and package the website program directory, execute the compression command, and the execution result is shown in Figure 1 2. Connect to the FTP server based on FlashFXP, download the compressed package: shuijingwanwq.com-20191203.zip to the local, as shown in Figure 2 3. Connect to the MySQL server…
-
Post Views: 13 1. Open the URL:http://www.aaaacn.net/wp-admin/install.php,报错:HTTPError 500, as shown in Figure 1 2. Open the URL:http://www.aaaacn.net/phpinfo.php,正常运行,如图2 3. Check virtualhost conf: /usr/local/nginx/conf/vhost/www.aaaacn.net.conf 4. Check rewrite rule: /usr/local/nginx/conf/rewrite/wordpress.conf 5. Check the directory permissions, and find that the files in the WordPress directory, permission users and user groups are no longer WWW, but root, it should be because the files in the…
-
Post Views: 49 1. Execute the command in CentOS 7.6 64-bit: yum makeCache to update the cache of the yum source, and report an error: There are no enabled repos, as shown in Figure 1 2. Decided to reinstall the 7.6 release package, first go to the Alibaba Yunyuan website, find the corresponding release package, and copy its link, as…
-
Post Views: 15 1. Reference URL:https://docs.phpmyadmin.net/zh_CN/latest/setup.html#installing-using-composer 2. Install and run the command based on composer, as shown in Figure 1 3. Enter the phpmyadmin-localhost directory, update phpmyadmin to the latest version, and run the command, as shown in Figure 2 4. Use the installer to generate the configuration file: config.inc.php, open the browser and use the /setup suffix to access,…
-
Post Views: 53 1. In the development environment, the execution of the database migration command fails: 1071 Specified key was too long; Max key length is 767 bytes, as shown in Figure 17 2. Run sql in the database in the development environment, and report an error: #1071 – specific key was too long; max key length is 767 bytes,…
-
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: 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: 18 1. Set the lockout time: the current UNIX timestamp + Redis lock timeout time, in seconds (3), edit the file: \common\config\params.php, as shown in Figure 1 2. Get the relevant setting parameters and edit the file: \api\models\redis\gamecategory.php, as shown in Figure 2 3. Get the Redis connection to execute the relevant commands, edit the file: \API\Models\Redis\GameCategory.php, as…