Suhosin/apcu/igbinary questions


#1

Just wondering, is there a reason why suhosin is not included in EasyEngine? If i understand it right it would security wise be a good idea.

And it’s very easy to install, and after abit of benchmarking the is very very little down draw.

Another question why is APCU not a standard? i know Zend Opcode+ is a part of EE, but APCU got some features Zend is lacking.

igbinary is a sence of taste i think, but looks like it dose something good for wordpress executions so fare, and speed up some stuff, this is more of a note then a question.


#2

APCU is user/data cache. Zend opcache is byte/code cache. Both are different. Can be used together.

For user/data cache, EasyEngine uses memcache. We have future plans to get some work done through memcache (on nginx side). Hence memcache is current choice for user/data cache.

I heard about suhosin before, but never used it. We use PHP builds from https://launchpad.net/~ondrej/+archive/php5 (ubuntu) and http://www.dotdeb.org/ (debian).

I think suhosin is not required or developed since PHP 5.4 - http://www.suhosin.org/stories/download.html

EasyEngine uses PHP 5.5.

If I missed anything, please let me know.


#3

Suhosin is still alive, check github insted :slight_smile:

The current version works with PHP 5.5 and is basicly just a .so extention that you build in a jiffy.


#4

Suhosin could be usefull to avoid problems with some very commom plugins… This is a known issue with WordPress, and affects both the standard WordPress Menu System, as well as UberMenu, which is built on top of that system.In most cases, the solution is as simple as asking your host to increase the max_vars variables in your php.ini.

    max_input_vars = 5000
    php_value max_input_vars 5000
    suhosin.post.max_vars = 10000
    suhosin.request.max_vars = 10000
    suhosin.post.max_value_length = 2000000
    suhosin.request.max_value_length = 2000000

These post and request max value also solve problems with very big posts with a ton of characters. Usually happens when you buy some Avada Top Theme and it starts to fail everytime you try to save a big page.


#5