We have feeling a slow working of Drupal 43 websites, using doble of the RAM allowed, mainly for Apache. We think in resinsatll modules no needed and we will then recompile apache and update you to the latest PHP to see if that helps at all.
What of this modules are required for running Drupal?

bcmath
calendar
ctype
curl
date
dom
ftp
gd
hash
iconv
libxml
mbstring
mcrypt
mysql
mysqli
openssl
pcre
PDO
posix
Reflection
session
SimpleXML
sockets
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
zlib

Where I can find information about this?

Comments

bzreef’s picture

i think you're better off doing some serious analysis to properly identify why your sites are slow and where your bottleneck really exists. it may not necessarily be your apache/php, it could be crawling when accessing your database. If this is the case, you may need to experiment with caching. but you'll have to spend some time identifying exactly where your bottleneck exists.

imho apache + php + mysql is not the best option if you're limited to a single server configuration. if you have been given significant resources to setup some load balancing / cluster configuration, then apache would be fine for serious drupal traffic.

i think if you're running a single server, lighttpd + fastcgi + php + mysql is way more efficient.

having said that, my php is comipled with these options:

'./configure' '--enable-fastcgi' '--enable-discard-path' '--enable-force-redirect' '--with-curl' '--with-curl-dir=/usr/local/lib' '--with-gd' '--with-gd-dir=/usr/local/lib' '--with-gettext' '--with-jpeg-dir=/usr/local/lib' '--with-mcrypt' '--with-mysql=/usr' '--with-pear' '--with-png-dir=/usr/local/lib' '--with-xml' '--with-zlib' '--with-zlib-dir=/usr/local/lib' '--with-openssl' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-track-vars' '--enable-mbstring=all'

However i think you really only need:
mbstring
curl
gd
mysql
mcrypt
jpeg
png
xml

but not completely sure. my configuration above suits me fine. not sure if if it can be of any help. If you using php as a module in apache, you can eliminate the fastcgi part.

also, you can search around these forums for ideas on how to improve drupal's performance. this is a topic that has been extensively discussed.

drupalcat-1’s picture

Thank you very much, I have passed this info to the webhosting technical staff and I dont know really what they do, a new compilation, an analysis of the slow queries... but now all is faster. I eliminate some old databases and websites not used.
But this feedback has been great.
from out of memory to have a nervous website and database.