Strange PHP error in error_log. Any Ideas?

Discussion in 'Site & Server Administration' started by amitash, Dec 25, 2009.

  1. #1
    Greetings,
    I get this strange PHP error. It happens every second. So the error log is becoming large in size resulting in performance effects. The error is

    [26-Dec-2009 07:39:26] PHP Warning:  Module 'suhosin' already loaded in Unknown on line 0
    [26-Dec-2009 07:40:17] PHP Warning:  Module 'suhosin' already loaded in Unknown on line 0
    [26-Dec-2009 07:40:23] PHP Warning:  Module 'suhosin' already loaded in Unknown on line 0
    [26-Dec-2009 07:40:24] PHP Warning:  Module 'suhosin' already loaded in Unknown on line 0
    [26-Dec-2009 07:40:25] PHP Warning:  Module 'suhosin' already loaded in Unknown on line 0
    [26-Dec-2009 07:40:26] PHP Warning:  Module 'suhosin' already loaded in Unknown on line 0
    [26-Dec-2009 07:40:27] PHP Warning:  Module 'suhosin' already loaded in Unknown on line 0
    [26-Dec-2009 07:40:30] PHP Warning:  Module 'suhosin' already loaded in Unknown on line 0
    [26-Dec-2009 07:40:32] PHP Warning:  Module 'suhosin' already loaded in Unknown on line 0
    [26-Dec-2009 07:40:34] PHP Warning:  Module 'suhosin' already loaded in Unknown on line 0
    [26-Dec-2009 07:40:38] PHP Warning:  Module 'suhosin' already loaded in Unknown on line 0
    [26-Dec-2009 07:41:04] PHP Warning:  Module 'suhosin' already loaded in Unknown on line 0
    [26-Dec-2009 07:41:17] PHP Warning:  Module 'suhosin' already loaded in Unknown on line 0
    [26-Dec-2009 07:41:56] PHP Warning:  Module 'suhosin' already loaded in Unknown on line 0
    [26-Dec-2009 07:48:18] PHP Warning:  Module 'suhosin' already loaded in Unknown on line 0
    [26-Dec-2009 08:28:31] PHP Warning:  Module 'suhosin' already loaded in Unknown on line 0
    [26-Dec-2009 09:23:51] PHP Warning:  Module 'suhosin' already loaded in Unknown on line 0
    PHP:
    This is just one part of the error, it happens every minute. I asked the host, He says, no problems with ioncube loaders.
     
    amitash, Dec 25, 2009 IP
  2. hostwebdata

    hostwebdata Peon

    Messages:
    264
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    are you using any think called "suhosin" ?
     
    hostwebdata, Dec 25, 2009 IP
  3. amitash

    amitash Well-Known Member

    Messages:
    399
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    125
    #3
    I dont know, But the script that i use has ioncube encoded php code. I too am hearing suhosin for the first time. Dont have any idea. Thats why i said its strange.
     
    amitash, Dec 25, 2009 IP
  4. wwstewart

    wwstewart Well-Known Member

    Messages:
    713
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    140
    #4
    wwstewart, Dec 25, 2009 IP
  5. amitash

    amitash Well-Known Member

    Messages:
    399
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    125
    #5
    The main problem is the error log guys. Actually, though it is showing these errors, the script is running fine. The core problem is that the error log is becoming larger and larger in size. Yesterday, it went upto 15Mb. This is causing 500 errors. Can you please suggest a way to forbid creation of error logs by PHP.
     
    amitash, Dec 25, 2009 IP
  6. SecureCP

    SecureCP Guest

    Messages:
    226
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    check your php.ini and make sure suhosin.so isn't loaded twice. Don't remove it completely, it's good stuff.
     
    SecureCP, Dec 26, 2009 IP
  7. amitash

    amitash Well-Known Member

    Messages:
    399
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    125
    #7
    I dont have access to php.ini as im on shared hosting. However, i asked my hosting support and he says, its fine.
     
    amitash, Dec 26, 2009 IP
  8. pikun

    pikun Active Member

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    93
    #8
    Hi Amitash,

    I thing if you have ioncube encoded php file, i thing it must be coded by someone which the
    1. place you purchase a script
    2. place you get a script
    3. place you asked someone to made it by license.

    I hope there are guarantee about this, he/she should have experience regarding this errors, and start from you have choose shared host, asked he/she too, what is standart module/features in host.

    I hope it would be useful for you :)
     
    pikun, Dec 26, 2009 IP
  9. amitash

    amitash Well-Known Member

    Messages:
    399
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    125
    #9
    Thanks pikun, that was good of you. But the place where i bought this script, its owner says.. He never experienced such problem, even on shared hosts. I think it is a problem with my server host. Ill try that later. BTW, is there any way, i can forbid the creation of error_log automatically?
     
    amitash, Dec 26, 2009 IP
  10. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #10
    this seems to be ur host issue.. and not script issue.. php modules cant be loaded by scripts but in php config
     
    Bohra, Dec 26, 2009 IP
  11. amitash

    amitash Well-Known Member

    Messages:
    399
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    125
    #11
    If it is the host problem, everyone on the shared host would have complained. But host support says, its not a problem on their side. I too understand. But what else can i do. Thanks Bohra but any other ideas?? Especially, i want a way to not allow the script to create an error log at all.
     
    amitash, Dec 27, 2009 IP
  12. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #12
    Upload phpinfo page in your website and check the path of loaded configuration file. Make sure it is server's default php.ini. If the path belongs to your home directory then open that php.ini file and check whether suhosin.so is written twice or not.

    Kailash
     
    kailash, Dec 28, 2009 IP