摘要:
常常遇到 php composer.phar update 等待一二十分钟还没有更新完成的情况。 提升速读的方法:1. 升级PHP 版本到5.4以上2. 删除文件夹Vender(或者重命名),之后执行php composer.phar install --prefer-dist这样避免了每次文件版本... 阅读全文
摘要:
Disable SHOW CREATE TABLE and SHOW COLUMNS in Yii为啥会显示:SHOW CREATE TABLE and SHOW COLUMNS 答案:This is how ActiveRecord retrieves the schema to power it's attributes.Since AR public properties are fetched from DB each time while using the model, this can cause additional workload for the web serve 阅读全文