Category: Composer 1
-
Post Views: 15 1. Reference URL:https://www.shuijingwanwq.com/2020/01/19/3869/, upgrade Yii Framework from version 2.0.15.1 to 2.0.31 2. In some use: \guzzlehttp\json_encode, \guzzlehttp\json_decode Error in the program, the final analysis found that the reason is that the directory: /vendor/guzzlehttp/guzzle, /vendor/guzzlehttp/promises no longer exists. as shown in Figure 1 After careful analysis, find the second step in the reference URL, run the Composer Update…
-
Post Views: 17 1. Check composer.json, prepare to uninstall the package: MoonToast Math Library 2. Use help to obtain the help information of the relevant command: remove, refer to the URL:https://getcomposer.org/doc/03-cli.md#remove 3. After the remove command deletes the dependent package relationship from the composer.json file in the current directory, the package corresponding to the relationship will be uninstalled and its…
-
Post Views: 18 1. Composer has been installed before, to ensure the latest version is used. You can update Composer to version 1.9.2 by running composer self-update, as shown in Figure 1 2. Updating Yii 2 to the latest version by running Composer Update, the Yii Framework has been upgraded from version 2.0.15.1 to 2.0.31, as shown in Figure 2…
-
Post Views: 16 1. Composer installation: nicolab/php-ftp-client reports an error: The requested php extension ftp is missing from your system, as shown in Figure 1 2. The Windows version of PHP has built-in support for this extension. Edit C:\PHP-7.2.14\php.ini, enable extension: FTP 3. Install again, the installation is successful, as shown in Figure 2
-
Post Views: 14 1. Docker deployment, when building an image on Jenkins, an error is reported: composer install returned a non-zero code: 255, as shown in Figure 1 2. The code for the failure of the dockerfile to execute the command is as follows 3. Edit Dockerfile, the build is successful, the reason for the visible failure is: composer install…
-
Post Views: 49 1. When using Composer to upgrade from Yii 2.0.x, an error is reported:[ErrorException]undefined variable: nameMatchesRequiredPackage, as shown in Figure 1 2. Update 3 packages, first update the first 2, no errors are reported, and then update the third one, the error is reported, the search dependency package in the current project Bower-asset/jQuery.inputMask, does not exist, as shown…
-
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,…