OXID Community Forum

> International Forums > Administration > Zend OPcache Configuration OXID
Login
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Thread: Zend OPcache Configuration OXID


Reply
 
Thread Tools Search this Thread Display Modes
#Top   #1  
Old 09-26-2015, 04:48 PM
Binary Binary is offline
Member
Join Date: Sep 2009
Posts: 80
Binary is on a distinguished road
Cool Zend OPcache Configuration OXID

hello oxid developers,

im playing with performance optimization for my oxid shop and configured my server to run with zend opcache.

im just wondering whats about the /tmp directory.
looks like oxid put there the smarty export which i think makes sence to optimize with opcache or do i miss something here?

+ EDIT:

and whats about the /admin directory?
opcache on or off for it?

cheers binary

Last edited by Binary; 09-26-2015 at 05:00 PM.
Reply With Quote
#Top   #2  
Old 09-27-2015, 11:03 PM
Marco Steinhaeuser's Avatar
Marco Steinhaeuser Marco Steinhaeuser is offline
Community Manager @OXID
Join Date: Oct 2008
Posts: 12,669
Marco Steinhaeuser is on a distinguished road
Default Re: Zend OPcache Configuration OXID

Hey @binary,

looks like opcache was introduced to PHP 5.5 and has to be supported by the application. As hosting providers still use PHP 5.4 and 5.3, also Zend Guard support was offered only recently for 5.5 and 5.6, it may take a while until PHP features like opcache may be supported by applications like OXID. It is a main consideration to be downwards compatible and to give long term support over hunting for every new feature and technology. Hope this is comprehensible

Marco
__________________
Marco
http://oxidforge.org
http://about.me/marco.steinhaeuser

Will ignore unsolicited support requests via PM, email or IM.
Reply With Quote
#Top   #3  
Old 09-27-2015, 11:20 PM
Binary Binary is offline
Member
Join Date: Sep 2009
Posts: 80
Binary is on a distinguished road
Default Re: Zend OPcache Configuration OXID

hey marco,

thanks for the replay,
i played yesterday quite a while with the settings and tested few things.
it seems like everything works fine, also with opcaching /tmp and /admin.
for monitoring there is a nice gui i found yesterday on github: https://github.com/amnuts/opcache-gui

update:

here is my config, maybe helps someone later:

zend_extension=/usr/local/php_extensions/php5.6/opcache.so
opcache.blacklist_filename=/binary/rocks/php5.6_opcache_blacklist.txt
opcache.use_cwd =true
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.revalidate_freq=60
opcache.fast_shutdown=1
opcache.enable_cli=1

cheers
binary

Last edited by Binary; 09-27-2015 at 11:25 PM. Reason: append config
Reply With Quote
#Top   #4  
Old 09-27-2015, 11:31 PM
Marco Steinhaeuser's Avatar
Marco Steinhaeuser Marco Steinhaeuser is offline
Community Manager @OXID
Join Date: Oct 2008
Posts: 12,669
Marco Steinhaeuser is on a distinguished road
Default Re: Zend OPcache Configuration OXID

Aye, that looks great. Cheers! :-)
__________________
Marco
http://oxidforge.org
http://about.me/marco.steinhaeuser

Will ignore unsolicited support requests via PM, email or IM.
Reply With Quote
Reply

Bookmarks

Tags
configuration, opcache, zend

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Nicht Sichtbar
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Server configuration jdw1979 Installation and configuration 9 01-04-2016 10:29 AM
Product configuration Vermond Installation and configuration 7 06-30-2013 11:44 AM
Configuration of .htaccess xciza Installation and configuration 3 01-10-2013 03:25 PM
configuration for US setup HeartlandGraphic Installation and configuration 1 03-23-2011 01:53 PM
Sessions configuration problem jpceja Installation and configuration 4 07-14-2009 09:16 PM

All times are GMT +1. The time now is 10:21 PM.