`
samwang
  • 浏览: 45129 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论

Something about PHP

阅读更多

1:   Allowed memory size of 16777216 bytes exhausted

   This is caused by the memory leak, which is set in php.ini, 16M is default size, so you can change it larger the option in php.ini file is :

  step 1 : reset the size

        memory_limit = 16M 

  step 2 : restart the apache

        service apache2 restart 

   (BTW, I am in Unbutu)

 

 

 

2: The difference between mysql and mysqli

 

mysql是非持继连接函数而mysqli是永远连接函数。也就是说

 

mysql每次链接都会打开一个连接的进程而mysqli多次运行mysqli

 

将使用同一连接进程,从而减少了服务器的开销
分享到:
评论

相关推荐

    something about jquery

    url: "myScript.php", type: "POST", data: { key1: "value1", key2: "value2" }, success: function(response) { console.log(response); } }); ``` ### 8. 插件与扩展 jQuery 社区提供了大量的插件,如 ...

    php.ini-development

    About php.ini ; ;;;;;;;;;;;;;;;;;;; ; PHP's initialization file, generally called php.ini, is responsible for ; configuring many of the aspects of PHP's behavior. ; PHP attempts to find and load ...

    Laravel Application Development Blueprints

    Development should be a creative and enjoyable experience, not something that is painful, and Laravel makes it enjoyable for the users. Laravel's directory structure is designed to be familiar to ...

    google api php client

    Using this library, the same call would look something like this: ```php // create the datastore service class $datastore = new Google_Service_Datastore($client); // build the query - this maps ...

    flash标签云 3D效果 PHP插件 by weefselkweekje

    There are a number of things that may prevent WP-Cumulus from displaying or cause it to display a short message about how it needs the Flash plugin. * In 99% of all cases where this happens the issue...

    Laravel开发-view-maker

    <x-alert message="Something went wrong!" /> ``` ### 结论 Laravel的`view:make`命令和Blade模板引擎共同构成了强大的视图管理系统,使开发者能够高效地构建和维护Web应用的界面。通过熟练掌握这些工具和概念,...

    Cucumber Recipes

    Book Description: You can test just about anything with Cucumber. We certainly have, and in Cucumber Recipes we’ll ... From embedded circuits to Python and PHP web apps, Cucumber has something for you.

    leetcode文本分词-RICKFENG-DSA:Leetcode/学习笔记

    Something about me: Name:冯正毅Major: SCU English SCU Big Data Languages:中文:听:精通说:精通读:精通写:精通English: Listening:Mastered Speaking:Mastered Reading:Mastered Writing:Mastered Skills:基础程...

    Python: The Ultimate Python Quickstart Guide - From Beginner To Expert [2016]

    Python : The Ultimate Python Quickstart...Whether you are an expert, looking to discover something new, or an amateur yet thriving programmer hoping to excel in the field of Python, this book is for you!

    odoo themes

    If you want something completely new, try something different. #### From Common CMS to Odoo When transitioning from a common CMS to Odoo, the first question that often arises is, "Where is my ...

    Reactive Android Programming

    It wasn’t exactly the flow of Promised-like systems but soon enough I’ve realized that it’s something even more powerful. Since then, he has been using RxJava (and RxKotlin) for his daily Android...

    C# Game Programming Cookbook for Unity 3D - 2014

    Acknowledgments xiii Introduction xv 1. Making Games the Modular Way 1 1.1 Important Programming Concepts.....................................2 1.1.1 Manager and Controller Scripts.......................

    Visualize This - Nathan Yau

    Find out all you can about your data, because the more you know what's behind the numbers, the better story you can tell. 3) Visualize Your Data (Click Graphic to See Larger Version) Once you know ...

    ActiveState Komodo IDE 10.2.1.89853 Setup + Keygen

    that if something didn't make sense then it didn't deserve a default binding, the user can define these themselves. We also reviewed other editors complete default keybinding sets to find ...

    system mechanic Activator v1.0

    01- AV software may warn about keygens, patches, cracks etc because of their capabilities and signatures (generating codes, etc). Sometimes also they're added to the virus/spyware database and ...

    Fckeditor2.6.3

    ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About'] 为 FCKConfig.ToolbarSets["Basic"] = [ ['Bold','Italic','-','OrderedList','UnorderedList','-',/*'Link',*/'Unlink',...

    au3反编译源码

    Doc\ Additional document about decompiling related stuff Tidy\ is run after deobfucating to apply indent to the source code samples\ Useful 'protected' example scripts; use myAut2Exe to reveal its ...

    TeeChart Pro Activex Control v2018

    'do something End Sub - Some form object (eg. Checkbox) events may fire before the Chart is loaded. That didn't occur in VB6 and will require a workaround in VB.NET if Chart properties are ...

    TeeChart2018ActiveX_0_2_9Eval3264

    'do something End Sub - Some form object (eg. Checkbox) events may fire before the Chart is loaded. That didn't occur in VB6 and will require a workaround in VB.NET if Chart properties are ...

Global site tag (gtag.js) - Google Analytics