yiisoft/yii2 2.0.6 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
How to fix?
Continue reading
yiisoft/yii2 2.0.6 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
How to fix?
Continue reading
[root@dev html]# curl -sS https://getcomposer.org/installer | myphp
#!/usr/bin/env php
Some settings on your machine may cause stability issues with Composer.
If you encounter issues, try to change the following:
The apc.enable_cli setting is incorrect.
Add the following to the end of your `php.ini`:
apc.enable_cli = Off
The php.ini used by your command-line PHP is: /opt/php-5.4.37/etc/php.ini
If you can not modify the ini file, you can also run `php -d option=value` to modify ini values on the fly. You can use -d multiple times.
Downloading…
Composer successfully installed to: /opt/php-5.4.37/html/composer.phar
Use it: php composer.phar
1. find out changed files in a commit
e.g.
$ git diff-tree --no-commit-id --name-only -r 5ada787d6688d388c8cdeb0ce87bfc7ac209106f
2. add all untracked, modified, deleted files to a commit
$ git add -A
You use gii to create a CURD suite of code and got the error of
Unknown Class – yii\base\UnknownClassException
Unable to find ‘backend\controllers\xxxxxController’ in file: /opt/php-5.4.37/html/backend/controllers/xxxxxController.php. Namespace missing?
Continue reading