samulwong631
谢谢楼主和10楼。这本书貌似一路在增加啊。
找到办法了,就是把apache重启一下,就生效了。
莫非是我的WAMP装得不好。莫非是memcache的问题???
php.ini里面有这么一段(安装memcache的时候google到加上去的);;;;;;;;;;;;;;;;;;; ; Resource Limits ; ;;;;;;;;;;;;;;;;;;; max_execution_time = 600 ; Maximum execution time of each script, in seconds max_input_time = 600 ; Maximum amount of time each script may spend parsing request data ;max_input_nesting_level = 64 ; Maximum input variable nesting level memory_limit = 128M ; Maximum amount of memory a script may consume (128MB) apc.enabled = 1 apc.shm_segments = 1 apc.shm_size = 64 apc.optimization = 0 apc.num_files_hint = 1000 apc.ttl = 0 apc.gc_ttl = 3600 apc.cache_by_default = On apc.slam_defense = 0 apc.file_update_protection = 2 apc.enable_cli = 0 apc.stat=0 [Memcache] memcache.allow_failover = 1 memcache.max_failover_attempts= 20 memcache.chunk_size = 8192 memcache.default_port = 11211 apc.rfc1867 = 1 apc.max_file_size = 200M
比如我明明在views里把_form.php的相应代码从文本框改为下拉菜单
<div class="row"> <?php echo $form->labelEx($model,'type_id'); ?> <?php echo $form->dropDownList($model,'type_id', $model- >getTypeOptions()); ?> <?php echo $form->error($model,'type_id'); ?> </div>
但是在页面怎么刷新都还是文本框,
直到……一段时间过去。、
再访问,才是下拉菜单。很需要这功能。
谢谢楼主!!- samulwong631 回复了话题 面向对象经典教程
谢谢楼主。
本人业余,先学了了下PHP5,再看YII,发现OOP还是要加强的。