Author |
|
dke
Joined: 13 Jul 2007 Posts: 61 Location: sweden
|
Posted: Mon 02 Dec '13 11:25 Post subject: Looking to update my entire webserver configuration |
|
|
Hey,
it's been awhile since i updated my configurations and i could use a little tips which releases are most stable for production
looking to use latest version of apache from apache lounge:
Apache 2.4.7 Win64
Which version of PHP is recommend?
Which version of WinCache is recommended?
Which version of mysql is recommended?
I've looked into WinCache but i can't find no guide how to install it and hook it up to php, but i'm guessing you add the extensions in the php.ini?
Thanks for the support guys. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7375 Location: Germany, Next to Hamburg
|
Posted: Mon 02 Dec '13 12:07 Post subject: |
|
|
PHP 5.5.x it is faster and the build-in opcache is also nice.
MySQL 5.5 (if not MariaDB)
For Wincache the other might say it. |
|
Back to top |
|
dke
Joined: 13 Jul 2007 Posts: 61 Location: sweden
|
Posted: Mon 02 Dec '13 13:28 Post subject: |
|
|
So PHP 5.5.x has build in cache functions out of the box? How do i set these up properly?
Thanks for the quick response! |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7375 Location: Germany, Next to Hamburg
|
Posted: Mon 02 Dec '13 15:10 Post subject: |
|
|
it is not a cache like "cache" you might think of. it just stores often used php functions / classes, but not the result like other caches. |
|
Back to top |
|
dke
Joined: 13 Jul 2007 Posts: 61 Location: sweden
|
Posted: Mon 02 Dec '13 15:26 Post subject: |
|
|
Nice, is there any special configuration to get that built in function cache to work or it is enabled by default? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7375 Location: Germany, Next to Hamburg
|
Posted: Mon 02 Dec '13 17:31 Post subject: |
|
|
You need to load the extension
Code: | zend_extension=php_opcache.dll |
and also in the section enable it
Code: |
[opcache]
opcache.enable=1
opcache.enable_cli=1
|
|
|
Back to top |
|