can badly coded PHP cause server problems?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gav

    #1

    can badly coded PHP cause server problems?

    Hi,

    I am new to PHP and was just curious, how "fool proof" is PHP against
    bad code? I.e. is it possible to cause major headaches for the server
    (infinite loops etc) with bad code or is the PHP module pretty much
    impossible to disrupt via badly written or malicious code?

    cheers!

    Gav
  • dr zoidberg

    #2
    Re: can badly coded PHP cause server problems?

    Gav wrote:
    [color=blue]
    > Hi,
    >
    > I am new to PHP and was just curious, how "fool proof" is PHP against
    > bad code? I.e. is it possible to cause major headaches for the server
    > (infinite loops etc) with bad code or is the PHP module pretty much
    > impossible to disrupt via badly written or malicious code?[/color]

    In general yes. But if your PHP setup is correct and secured you can't
    broke the server down.

    Comment

    • Savut

      #3
      Re: can badly coded PHP cause server problems?

      Most servers has memory usage limit oper user to protect again these kind of
      "attack".
      PHP also has config for fopen() to limit user to his dorectory, and even the
      new version of mysql has max connection limit for each user, and that is
      just one exemple for each. Apache Perchild MPM is a good protection also.

      Savut

      "Gav" <gavin@my-deja.com> wrote in message
      news:7da6364d.0 402241225.53ef6 854@posting.goo gle.com...[color=blue]
      > Hi,
      >
      > I am new to PHP and was just curious, how "fool proof" is PHP against
      > bad code? I.e. is it possible to cause major headaches for the server
      > (infinite loops etc) with bad code or is the PHP module pretty much
      > impossible to disrupt via badly written or malicious code?
      >
      > cheers!
      >
      > Gav[/color]

      Comment

      Working...