Hello Everyone, i wanted to know what are the basic requirements of Drupal. I mean what a Server would require to run Drupal smoothly? Provide all deep details that you are sure about. Please also mention how Drupal is different than Wordpress in terms of requirements.
Thanks in advance.

Comments

pixelsweatshop’s picture

It's all in Drupal's documentation.

See https://drupal.org/requirements

And wordpress has the same thing http://wordpress.org/about/requirements/

cdnsteve’s picture

I've found the PHP memory limit in Drupal to often need to be 128megs, somethings 256 to have extra breathing room.
I find the requirements page to be a mess and not very smooth in determining what it really needs in real world scenarios.

Please note: Certain modules may require additional PHP extentions/settings enabled. No one simply uses stock Drupal. Read each modules requirements.

Drupal is also very PHP heavy - Caching is absolutely needed. This can be enabled in Drupal itself but you can gain additional benefits from APC. It provided me with a huge performance boost.

From my own documentation.

expose_php = off
Shows current PHP version in all header requests:
http://phpsec.org/projects/phpsecinfo/tests/expose_php.html
X-Powered-By: PHP/5.3.8

allow_url_fopen = off
This is a security issue: see http://phpsec.org/projects/phpsecinfo/tests/allow_url_fopen.html

enable_dl = off
Dynamic module loading
Using dl( ) makes it possible to bypass open_basedir restrictions, and it should be disabled unless your application requires it.

magic_quotes_gpc = off
Forces quotes in variables - This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.

register_globals = off
Security issue - having this enabled subjects PHP variables to input from any source:
This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.

session.cache_limiter: nocache
Recommended from Drupal.org

session.auto_start: 0
Recommended from Drupal.org

display_errors = Off
Hides errors output to display (website) we want to send to log file instead.

error_log = PATH/TO/php_error_log defined by admin
This is the path and log file in which PHP errors will be logged.

upload_max_filesize = 100M
Set the max allowed file upload size

memory_limit = 128M
Increase default memory limit that PHP can utilize.
Should be larger than post_max_size

post_max_size = 120M
Affects upload, must be larger than upload_max_filesize
http://www.php.net/manual/en/ini.core.php#ini.post-max-size

file_uploads = On
Allows file uploads