简体   繁体   English

我该如何解决suhosin.so错误

[英]how do I fix my suhosin.so error

I'm (very) new to databases. 我(非常)是数据库新手。 I've designing a site, and was happy that I got a handle on the errors in my error log. 我已经设计了一个站点,并且很高兴我可以处理错误日志中的错误。 Recently my error log keeps logging in "PHP Warning: ...unable to load...suhosin.so" 最近,我的错误日志不断记录“ PHP警告:...无法加载... suhosin.so”

Obviously a new entry is made whenever I query something. 显然,每当我查询某些内容时,都会创建一个新条目。 Unfortunately, google searches tell me 2 things: (1)the error isn't really a big thing (but I was proud that my error log stopped growing!) and (2) suhosin.so is an advanced topic (and security patch) for mysql. 不幸的是,谷歌搜索告诉我两件事:(1)错误并不是什么大问题(但我为我的错误日志停止增长感到骄傲!)和(2)suhosin.so是高级主题(和安全补丁)对于mysql。

The advanced part has me a bit freaked out as to how I can "fix" it... 高级部分让我有些困惑,我该如何“修复”它...

Please help. 请帮忙。

It says extension=suhosin.so somewhere in your php.ini. 它在您的php.ini中的某个地方显示了extension=suhosin.so You can either remove or comment out this line to disable the protection, or install the current suhosin extension from suhosin.org. 您可以删除或注释掉此行以禁用保护,或者从suhosin.org安装当前的suhosin扩展。 Simply 只是

grep -r suhosin.so /etc/php5

(The path may be different on your system.) (系统上的路径可能不同。)

Suhosin is an advanced protection system for PHP. Suhosin是用于PHP的高级保护系统。 (not mysql) (不是mysql)

Try this... 尝试这个...

(1) Install suhosin extension from suhosin.org if it's not installed yet (1)安装了Suhosin扩展suhosin.org如果它尚未安装

(2) Un-comment (by removing #) extension=suhosin.so from your php.ini file (2)从php.ini文件中取消注释(通过删除#) extension=suhosin.so

(3) Restart your web-server (Apache?) (3)重新启动您的Web服务器(Apache?)

This should fix your suhosin.so error. 这应该可以解决您的suhosin.so错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM