Welcome Guest, Not a member yet? Register   Sign In
Why CI4 is slower than CI3

In your php.ini turn on and setup the php opcache and watch what happens.

From what I found on the web this is where you turn the zend opcache extension on. you need to add this line to php.ini
Change the path to your php_opcache.dll location if not using XAMPP.

; Language Options ;

; Enable the PHP scripting language engine under Apache.
; http://php.net/engine
engine = On

;;;zend_extension = php_opcache.dll
zend_extension = C:\xampp\php\ext\php_opcache.dll

Configuring the Zend opcache:

; Determines if Zend OPCache is enabled

; Determines if Zend OPCache is enabled for the CLI version of PHP

; The OPcache shared memory storage size.

; The amount of memory for interned strings in Mbytes.

; The maximum number of keys (scripts) in the OPcache hash table.
; Only numbers between 200 and 1000000 are allowed.

; When disabled, you must reset the OPcache manually or restart the
; webserver for changes to the filesystem to take effect.

; How often (in seconds) to check file timestamps for changes to the shared
; memory storage allocation. ("1" means validate once per second, but only
; once per request. "0" means always validate)


These are the best settings that I have found you need to test the settings for yourself.

Here is a good article on it.

Best Zend OpCache Settings/Tuning/Config

Good luck.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

Messages In This Thread
Why CI4 is slower than CI3 - by arisroyo - 10-20-2018, 05:57 PM
RE: Why CI4 is slower than CI3 - by arisroyo - 10-26-2018, 05:36 PM
RE: Why CI4 is slower than CI3 - by InsiteFX - 10-27-2018, 05:06 AM

Theme © iAndrew 2016 - Forum software by © MyBB