Welcome Guest, Not a member yet? Register   Sign In
Very slow if $data is big
#2

One way of sppeding it up is to use the php.net Opcache.

php.net - OPcache

Code:
PHP.INI


[Opcache]

zend_extension=/full/path/to/opcache.so (nix)

zend_extension=C:\path\to\php_opcache.dll (win)

Note that when the path contains spaces you should wrap it in quotes:

zend_extension="C:\Program Files\PHP5.5\ext\php_opcache.dll"



opcache.enable = 1

opcache.memory_consumption = 512

opcache.interned_strings_buffer = 64

opcache.max_accelerated_files = 32531

opcache.validate_timestamps = 0

opcache.save_comments = 1

opcache.fast_shutdown = 0

How to use PHP OPCache?
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
Very slow if $data is big - by MarieveStrange - 01-19-2023, 02:15 PM
RE: Very slow if $data is big - by InsiteFX - 01-20-2023, 12:52 AM
RE: Very slow if $data is big - by nc03061981 - 01-20-2023, 01:36 AM
RE: Very slow if $data is big - by davis.lasis - 01-20-2023, 02:46 AM
RE: Very slow if $data is big - by php_rocs - 01-20-2023, 09:45 AM
RE: Very slow if $data is big - by sheilaf - 01-20-2023, 12:19 PM
RE: Very slow if $data is big - by InsiteFX - 01-21-2023, 12:04 AM
RE: Very slow if $data is big - by MarieveStrange - 01-23-2023, 07:57 AM
RE: Very slow if $data is big - by superior - 01-23-2023, 08:54 AM
RE: Very slow if $data is big - by MarieveStrange - 01-24-2023, 01:02 PM
RE: Very slow if $data is big - by superior - 01-25-2023, 01:10 AM
RE: Very slow if $data is big - by MarieveStrange - 01-25-2023, 07:47 AM
RE: Very slow if $data is big - by superior - 01-25-2023, 08:39 AM
RE: Very slow if $data is big - by MarieveStrange - 01-25-2023, 09:40 AM
RE: Very slow if $data is big - by superior - 01-25-2023, 10:31 AM
RE: Very slow if $data is big - by MarieveStrange - 01-25-2023, 02:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB