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.
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.
Suhosin is a script for hardening PHP. http://www.phpfreaks.com/tutorial/hardening-php-with-suhosin I don't know anything about it, but this info might help you out.
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.
check your php.ini and make sure suhosin.so isn't loaded twice. Don't remove it completely, it's good stuff.
I dont have access to php.ini as im on shared hosting. However, i asked my hosting support and he says, its fine.
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
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?
this seems to be ur host issue.. and not script issue.. php modules cant be loaded by scripts but in php config
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.
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