Author: 永夜
-
Post Views: 5 1. Open the URL,http://www.yiiframework.com/download/,根据提示执行升级: 2. Execute the command: php composer.phar require yiisoft/yii2 2.0.6, report an error: [UnexpectedValueException] Could not parse version Constraint <=2.*: Invalid version string “2.*” 3. Execute commands one after another: composer self-update, composer global update; 4. Execute the command again: composer global update; 5. Execute the command again: php composer.phar require yiisoft/yii2 2.0.6, the…
-
Post Views: 12 1. inhttps://phpunit.de/下载StableRelease: 2. Copy phpunit.phar to c:\php-5.4.42, c:\php-5.4.42 is the installation directory of php: 3. Run php phpunit.phar in cmd –version, php phpunit.phar successfully:
-
Post Views: 13 1. The $QUERY code implements screenshots: 2. Error: sqlstate[HY093]: Invalid parameter number: number of bound variables not match number of tokens\nthe sql being executed was 3. After the $query is modified, the screenshot is realized, and the $query->addParams is cancelled: 4. $Query is successfully implemented
-
Post Views: 11 1. Screenshot of the code that can be verified successfully under Windows 8.1: 2. When the RESTClient test under FIFEFOX of CentOS, the verification fails: 3. Analyze the code and find that the loading intl extension failed: 4. Run the command on CentOS: yum install php-intl to install the intl extension: 5. The intl installation is successful,…
-
Post Views: 13 1. Composer self-update appears[ErrorException] zlib_decode(): data error prompt 2. Edit zlib.output_compression in php.ini = on, zlib.output_compression_level = 5 3. Check the relevant information of zlib in phpinfo as follows: 4. Composer self-update execution is successful
-
Post Views: 16 1. You need to implement this URL first:https://www.shuijingwanwq.com/2014/12/26/439/ 2. The current php version is php 5.3.3 3. Edit /etc/yum.repos.d/remi.repo, set[remi]Enabled=1 below,[remi]Indicates php 5.4 version, there are 5.5 and 5.6 below, here use 5.4 4. Execute the yum repolist command to see if the remi source is added successfully 5. Uninstall PHP 5.3.3 related programs 6. Install the…
-
Post Views: 15 1. The system and application list of the Windows log of the event viewer in the control panel; 2. Error application name: wdpkcsutil.exe 3. Search wdpkcsutil.exe in the c drive, and find that it is caused by the ccbcomponents program, uninstall ccbcomponents 4. There is still a blue screen problem: 5. Use the BlueScreenView tool to analyze…
-
Post Views: 14 1. Create a token on github; 2. The prompt creation is successful (all check boxes are selected), you need to save it to the local, and use it during installation; 3. During the installation command, you need to enter the token just generated; 4, :
-
Post Views: 14 The first solution: PHP C:\ProgramData\ComposeSetup\bin\Composer self-update, it will not report an error, but it is too troublesome; The second solution, reinstall composer-setup.exe and run as an administrator, it will automatically set the system’s environment variables during the installation process, so you can use the composer command directly in any directory. Restart the operating system, it can run…
-
Post Views: 14 1. Since it is ready to use the Yii 2.0 framework, which requires PHP 5.4 or later, it is decided to upgrade the PHP version; 2. The current environment is: Windows 8.1 64, Apache 2.2.25 (http://www.apache.org/)、MySQL-5.5.28、PHP-5.3.5、phpMyAdmin-4.2.9.1; 3. Prepare to upgrade to: Windows 8.1 64, Apache 2.4.12 (http://www.apachelounge.com/)、MySQL-5.5.28、PHP-5.4.42、phpMyAdmin-4.2.9.1,主要是将PHP升级为5.4.42,Apache从VC6编辑的转换为VC9编译的,且升级为2.4.12; 4. Open the URL:http://windows.php.net/download/#php-5.4-ts-VC9-x86, download php-5.4.42-win32-vc9-x86.zip; 5. Read the prompt…