• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Apache & PHP configuration

Brent W

Well-known member
#1
What Apache modules and PHP modules are 100% necessary for xenForo to function properly?

What Apache modules are suggested but not required? I am looking into compiling Apache and PHP in the most optimal way with only the modules that will:

1) Be required for xenForo
2) Increase performance and security of Apache / PHP.
 

a legacy reborn

Well-known member
#2
What Apache modules and PHP modules are 100% necessary for xenForo to function properly?

What Apache modules are suggested but not required? I am looking into compiling Apache and PHP in the most optimal way with only the modules that will:

1) Be required for xenForo
2) Increase performance and security of Apache / PHP.
#1.
XenForo.com Homepage said:
  • XenForo System Requirements
    • PHP: 5.2.4+
    • MySQL: 5.0+
    • PHP extensions: MySQLi, GD (with JPEG support), PCRE, SPL, SimpleXML, DOM, JSON, iconv, ctype
    • PHP safe_mode off
    Download the requirements test script.
#2. I would recommend the following modules(The configuration of said modules will be left up to you and google):
  • Eaccelerator/APC/XCache - Choose the one that you find best. I'll leave the decision up to you.
  • Mod Security
  • Mod QoS
  • Mod Deflate
  • Mod Expires
  • Mod Headers
This list are the basic modules that I use to secure and optimize my Apache + PHP.