Best WHM /EASYAPACHE4 configuration for wordpress
Hello, I am configuring a WEB server and I want to optimize just to use it with wordpress, I wanted to know your experience configuring EASYAPACHE4, which has been the best configuration, I send mine, but only as an example, since I am still testing ( jmeter)
Broadly speaking, I have activated MPM event and removed several modules that are not necessary for wordpress, I still have to decide which cache option to leave (memcached, opcache, etc)
PS: Later I will ask you for optimizations for mysql and some caching system like varnish.
Apache 2.4
- config
- config-runtime
- mod_brotli
- mod_bwlimited
- mod_cgid
- mod_deflate
- mod_expires
- mod_headers
- mod_http2
- mod_mpm_event
- mod_pagespeed
- mod_proxy
- mod_proxy_fcgi
- mod_proxy_http
- mod_proxy_wstunnel
- mod_security2
- mod_ssl
- mod_suexec
- mod_suphp
- mod_unique_id
- mod_version
- tools
- build
- libc-client
- pear
- php-bcmath
- php-bz2
- php-calendar
- php-cli
- php-common
- php-curl
- php-dba
- php-devel
- php-exif
- php-fileinfo
- php-fpm
- php-ftp
- php-gd
- php-gettext
- php-iconv
- php-imap
- php-intl
- php-litespeed
- php-mbstring
- php-mysqlnd
- php-opcache
- php-pdo
- php-posix
- php-process
- php-pspell
- php-soap
- php-sockets
- php-xml
- php-xmlrpc
- php-zip
- runtime
- build
- libc-client
- pear
- php-bcmath
- php-bz2
- php-calendar
- php-cli
- php-common
- php-curl
- php-dba
- php-devel
- php-exif
- php-fileinfo
- php-fpm
- php-ftp
- php-gd
- php-gettext
- php-iconv
- php-imap
- php-intl
- php-litespeed
- php-mbstring
- php-mysqlnd
- php-opcache
- php-pdo
- php-posix
- php-process
- php-pspell
- php-soap
- php-sockets
- php-xml
- php-xmlrpc
- php-zip
- runtime
- build
- libc-client
- pear
- php-bcmath
- php-bz2
- php-calendar
- php-cli
- php-common
- php-curl
- php-dba
- php-devel
- php-exif
- php-fileinfo
- php-fpm
- php-ftp
- php-gd
- php-gettext
- php-iconv
- php-imap
- php-intl
- php-litespeed
- php-mbstring
- php-mysqlnd
- php-opcache
- php-pdo
- php-posix
- php-process
- php-pspell
- php-soap
- php-sockets
- php-xml
- php-xmlrpc
- php-zip
- runtime
- apr
- apr-util
- brotli
- cpanel-tools
- documentroot
- libcurl
- libicu
- libnghttp2
- libxml2
- libzip
- modsec-sdbm-util
- nghttp2
- oniguruma
- oniguruma-devel
- openssl11
- php-cli
- php-cli-lsphp
- profiles-cpanel
-
it's a couple of years old, but this may help: Which PHP extensions are needed to run a fully operational WordPress site? It gives a list of required and options modules. As per the other replies, no one is going to be able to tell you the 'optimal' list. It all depends on your site and your requirements. Optimal for a WordPress site that is basically static content is quite different than a large WordPress site with WooCommerce and 100's of products. 0 -
That's a good article thank you! Do you know if I go into Woo Commerce if it will prompt me to any packages that are required? I know that some of themes I've used in the past have a "Server section" that show you what packages they recommend installing or require. Is there any security vulnerabilities or performance hits I would take by enabling all packages? Could I disable all packages that contain mail if I'm not using the server to send any emails like php74-libc-client or will this not allow me to get notifications from plugins like wordfence or break functionality of gravity forms login forms? Thanks for your help 0 -
You more than likely don't want to enable every package. Most of them will not be needed and it just bloats PHP (i.e. causes it to need more memory). For detailed WordPress questions your prob. a lot better off asking in the Wordpress forums vs here. Most of the people here are looking to make things work for all sites on a server, not for a single site (that it sounds like you are talking about). 0
Please sign in to leave a comment.
Comments
5 comments