Suhosin 0.9.35

Zend opCache is a replacement of APC and is bundled with PHP 5.5 and 5.6, while APC is not. Do you miss any functionality of APC in opcache?
 
No, didnt know it was a replacement :)

So, who is using PHP 5.5 and 5.6 will not need to install opCache nor APC, and who is using PHP <5.5 will just opCache? Am i right?

Thanks
 
You can set opcache=yes in the options.conf file of CB 2.0 and it will enabled CB 2.0 with any PHP version you use :)
 
You can set opcache=yes in the options.conf file of CB 2.0 and it will enabled CB 2.0 with any PHP version you use :)

1. So than we can disable / remove APC ? (php 5.3.x) ?
2.To enable Suhosin we only have the option suhosin in options.conf set to yes ?
 
Last edited:
1. You should disable APC manually.
2. Yes, and run "./build suhosin" or "./build php n" afterwards, any of these would install suhosin for you.
 
i have enabled the opcache but when i do /build update & ./build versions . nothing is there ?
or how can i check if the opcache works ?

EDIT:
After /build php n it gives now what is installed , everything should be fine

opCache 7.0.3 is now installed for PHP 5.3.
opCache PHP extension has been installed successfully.
PHP 5.3.28 Installed.
suhosin 0.9.35 is now installed for PHP 5.3.
opCache 7.0.3 is now installed for PHP 5.3.
Rewriting all users httpd.conf files, please wait...
Debug mode. Level 10
 
Last edited:
There is no a "version" showed on build versions.

For build it just run: ./build opcache

Regards

I didnt do ./build opcache only changed it from no to yes in options.conf

But after install suhosin i get
opCache 7.0.3 is now installed for PHP 5.3.
opCache PHP extension has been installed successfully.
PHP 5.3.28 Installed.
suhosin 0.9.35 is now installed for PHP 5.3.
opCache 7.0.3 is now installed for PHP 5.3.
Rewriting all users httpd.conf files, please wait..

and php -v:
PHP 5.3.28 (cli) (built: May 7 2014 20:01:29)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
with Suhosin v0.9.35, Copyright (c) 2007-2014, by SektionEins GmbH


This means it installed any way ?
I have installed also a gui for the opcache and it seems to work

(people who wants a gui for this i found a nice link : https://rtcamp.com/tutorials/php/zend-opcache/ )
 
Last edited:
Yes, you had it set to "yes" and doExtensions() function was called in CustomBuild 2.0, so it got added to the configuration file.
 
crane, feel free to add configuration to your main PHP configuration file or /usr/local/php5*/lib/php.conf.d/11-suhosin.ini file (if you're running mod_php, then the full path is /usr/local/lib/php.conf.d/11-suhosin.ini).
 
Back
Top