Category: PHP 7.4
-
Post Views: 19 1. In Postman, the details of the specified resource of the GET request, the response is 200, as shown in Figure 1 2. Check the routing configuration, the code is as follows 3. Check the controller, the code is as follows 4. Details of the specified resource for the POST request in Postman, the response is 404,…
-
Post Views: 13 1. When executing the Composer Update, the prompt: Package Codeception/Base is abandoned, you should avoid using it. No Replacement was Suggested., as shown in Figure 1 2. Since I am using the Yii 2 advanced project template, look at composer.json on github, and find that there are no dependencies: codeception/base, refer to:https://github.com/yiisoft/yii2-app-advanced/blob/2.0.35/composer.json, as shown in Figure 2…
-
Post Views: 15 1. In Windows 10 64-bit, PHP 7.4.6, an error is reported: php warning: php startup: unable to load dynamic libraryimagick(Tried: c:/php-7.4.6/ext\imagick, as shown in Figure 1 2. Reference:https://www.shuijingwanwq.com/2017/08/30/1768/, had a similar problem in PHP 7.0 before 3. Open:http://windows.php.net/downloads/pecl/deps/, download: imagemagick-7.0.7-11-vc15-x64.zip, as shown in Figure 2 4. Create a new directory: C:\imagemagick-7.0.7, copy the directory: d:\soft\imagemagick-7.0.7-11-vc15-x64\bin All files…
-
Post Views: 16 1. Edit .gitignore and add /vendor to the git warehouse, as shown in Figure 1 2. Failed to build in Jenkins, check Console output. as shown in Figure 2 3. Docker deployment, delete the composer install. Edit Dockerfile. as shown in Figure 3 4. Build successfully in Jenkins. as shown in Figure 4 5. Failed to start…
-
Post Views: 14 1. In the previous release interface, only one channel is supported for a release. Therefore, the release of the three channels needs to call the interface (APP, Netease account, Weibo) 3 times respectively, as shown in Figure 1 2. On the current release interface, it is ready to publish at one time and can be published on…
-
Post Views: 18 1. Change the maximum width of the website of the WordPress theme: 1680 px, as shown in Figure 1 2. Check the thumbnail image of the home page, its original size is: 720 * 340 px, which has now been enlarged to: 1020 * 360 px, which has become not clear enough, as shown in Figure 2…
-
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…