目的使由Exmail+Postfix搭建的邮件系统能上传8M的附件。1.修改/etc/php.inimax_execution_time=30#改为60(增加处理脚本的时间限制)
memory_limit=8M#改为8M(这样才能发8M的附件)
post_max_size=8M#改为8M
upload_max_filesize=8M#改为8M2.修改/etc/postfix/main.cf,添加如下语..
                            
                            
                                分类:
其他好文   时间:
2014-10-24 19:07:10   
                                阅读次数:
216
                             
                    
                        
                            
                            
                                os.chmod(path,mode) 这个方法应该很简单,只需要2个参数,一个是路径,一个是说明路径的模式,下面列出了这个用法中可以使用的一些常用的模式:stat.S_ISUID: Set user ID on execution. 不常用stat....
                            
                            
                                分类:
编程语言   时间:
2014-10-19 12:48:58   
                                阅读次数:
190
                             
                    
                        
                            
                            
                                创建如下注册表项: HKLM\SOFTWARE\Microsoft\Windows?NT\CurrentVersion\Image?File?Execution?Options\notepad.exe 如果无法修改,需要先右键取得权限; 在notepad.exe注册表项中,创建名为Debugger的字符串...
                            
                            
                                分类:
其他好文   时间:
2014-10-18 11:20:04   
                                阅读次数:
159
                             
                    
                        
                            
                            
                                Android 模拟器一直以运行速度慢著称, 本文介绍使用 Intel HAXM 技术为 Android 模拟器加速, 使模拟器运行度媲美真机, 彻底解决模拟器运行慢的问题。Intel HAXM (Hardware Accelerated Execution Manager) 使用基于 Intel(...
                            
                            
                                分类:
其他好文   时间:
2014-10-17 20:18:09   
                                阅读次数:
203
                             
                    
                        
                            
                            
                                设置PHP脚本执行超时的时间有下面这样一些方法:php.ini 中缺省的最长执行时间是 30 秒,这是由 php.ini 中的 max_execution_time 变量指定,倘若你有一个需要颇多时间才能完成的工作,例如要发送很多电子邮件给大量收件者,或者要进行繁重的数据分析工作,服务器会在 30 ...
                            
                            
                                分类:
Web程序   时间:
2014-10-17 16:53:39   
                                阅读次数:
193
                             
                    
                        
                            
                            
                                根据php手册的解析。 __destruct是 析构函数会在到某个对象的所有引用都被删除或者当对象被显式销毁时执行。 而register_shutdown_function是 Registers a callback to be executed after script execution fin...
                            
                            
                                分类:
其他好文   时间:
2014-10-17 00:06:33   
                                阅读次数:
345
                             
                    
                        
                            
                            
                                可以在VS2008里设置项目属性使其获得WIN7管理员权限。设置方法为:项目属性——>Linker——>Manifest File——>UAC Execution Level选择highestAvailable asInvoker : 应用程序就是以当前的权限运行。highest...
                            
                            
                         
                    
                        
                            
                            
                                A data processor supports the use of multiple memory models by computer programs. At a device external to a data processor, such as a memory controlle...
                            
                            
                                分类:
其他好文   时间:
2014-10-14 19:30:19   
                                阅读次数:
248
                             
                    
                        
                            
                            
                                A method and processor for providing fullload/storequeuefunctionality to an unorderedload/storequeuefor a processor with out-of-order execution.Load a...
                            
                            
                                分类:
其他好文   时间:
2014-10-14 02:08:57   
                                阅读次数:
366
                             
                    
                        
                            
                            
                                Java Virtual Machine: the Essential GuideOctober 8th, 2014 - By Alexey ZhebelIntroductionJava Virtual Machine (JVM) is an execution environment for Ja...
                            
                            
                                分类:
其他好文   时间:
2014-10-11 21:35:46   
                                阅读次数:
269