摘要: Apache或IIS中,如果按照默认php.ini,会无法加载php_exif.dll模块 要想php_exif能够被成功加载,必须满足下面条件: 1. php_mbstring被启用; 2. php.ini中,php_mbstring必须在php_exif前被加载。 因此,你需要修改默认的php.ini中的这两个模块顺序(默认是字典序) 1. extension=php_mbstring.dll 2. extension=php_exif.dll 阅读全文
posted @ 2010-04-07 16:34 吊儿郎当 阅读(1760) 评论(0) 推荐(0) 编辑
摘要: Debugging software is not exactly a fun job for developers. The most widely used debugger for PHP still seems to be a var_dump() statement, possibly in conjunction with die() to halt program execution at a certain point. While there is nothing wrong using var_dump() statements in itself, you still need to change the program code to debug a PHP script. And worse, after you have finished debugging, you must remove all var_dump() statements again (well you should, at least). It may well be that a 阅读全文
posted @ 2010-04-07 15:35 吊儿郎当 阅读(9978) 评论(0) 推荐(2) 编辑