Performance » Deciding On Apache Modules To Use

Jul 30, 2008

what modules I should use in my httpd.conf file. Here's the modules that I currently have enabled / disabled. The site is running specifically off PHP. There is no need for CGI, ASP, or any other languages (to my knowledge). The negotiation module is enabled,. It does not need to be to my knowledge.

However, when I disabled it Apache would not restart. Could someone give some details as to which directives need to be disabled for negotiation to be disabled. Also, does anyone know if negotiation is essential. It is not to my knowledge. Suggestions and comments are much appreciated. Thank you in advance for your hard work and experience being as it's not costing me anything. I will do my best to return the favor.

LoadModule access_module modules/mod_access.so
LoadModule auth_module modules/mod_auth.so
LoadModule auth_anon_module modules/mod_auth_anon.so
LoadModule auth_dbm_module modules/mod_auth_dbm.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule auth_ldap_module modules/mod_auth_ldap.so
# LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule env_module modules/mod_env.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule asis_module modules/mod_asis.so
LoadModule info_module modules/mod_info.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule imap_module modules/mod_imap.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
# LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule cache_module modules/mod_cache.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
# LoadModule cgi_module modules/mod_cgi.so
LoadModule logio_module /usr/lib/httpd/modules/mod_logio.so

View 0 Replies


ADVERTISEMENT

Apache Modules

Oct 10, 2007

On a Linux box, is there a way to list all of the modules that are running in Apache but NOT compiled into Apache?

I now that "httpd -l" = lists all of the Apache compiled modules.

View 5 Replies View Related

Removing Apache Modules

Apr 17, 2009

I have a RHEL 5 server, that host one site with a common PHP 5.x -MySQL 5.x app, it also uses .htaccess to rewrite rules. I'm trying to optimize apache to the max, and though about removing some unneccesary modules. The actual modules loaded are:

Code:
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_alias_module modules/mod_authn_alias.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule info_module modules/mod_info.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule cache_module modules/mod_cache.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule version_module modules/mod_version.so
LoadModule unique_id_module modules/mod_unique_id.so
LoadModule evasive20_module /usr/lib/httpd/modules/mod_evasive20.so
LoadModule security_module /usr/lib/httpd/modules/mod_security.so
Besides of mod_evasive, mod_security that are security modules, what modules can I disable without causing any problems to a common PHP-MySQL website?

This is a plain RH box, virtual host is configured at httpd.conf in this way:

Code:
<VirtualHost SERVERIP>
ServerName mysite.com
ServerAlias www.mysite.com
DocumentRoot /var/www/sites/mysite.com
<Directory "/var/www/sites/mysite.com">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</VirtualHost>

View 4 Replies View Related

Apache :: Several Modules Missing Or Different Name

Jun 2, 2014

I'm trying to install the Win32 dist from apachelounge 2.4.9 and I'm having difficulties getting the modules loaded. Several modules have different names or aren't there at all. mod_imap.so

View 1 Replies View Related

How To Add Apache Load Modules

Feb 11, 2013

I have complied Apache from the source with so enabled and compiled PHP with Apache apxs. What if I do, if I want to add/Load another modules as a dynamic modules without recompiling apache. Suppose if I want to enable rewrite or any other module.I am pasting the command which I used to compile apahce.

Apache
==
./configure --prefix=/usr/local/apache --enable-module=so
make
make install

PHP
==
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs
make
make install

Both are running fine on my server,how to enable mod rewrite module as shared module fro example ?? 

View 1 Replies View Related

SELinux Is Preventing Apache/PHP From Loading Modules

Jul 28, 2008

I can't get SELinux to let httpd load the IonCube module for PHP. I've given the CentOS 5 forum a try (here: http://www.centos.org/modules/newbb/...15403&forum=42), talked with WHMCS's support (the app I'm using that needs it), and even opened a ticket with IonCube. Unfortunately nobody seems to know how to tell SELinux to let httpd "exec" modules.

I'm running CentOS 5, and the error I'm getting in /var/log/messages is:

Jul 23 10:15:30 host kernel: audit(1216833330.905:1249): avc: denied { execheap } for pid=22055 comm="httpd" scontext=root:system_r:httpd_t:s0 tcontext=root:system_r:httpd_t:s0 tclass=process

I can disable SELinux and it works fine (setenforce 0), but that's not the solution I'm looking for. Can someone please tell me how to do this the *right* way?

View 11 Replies View Related

Apache :: Identity Modules Compiled For RHEL

Apr 26, 2014

I have 2.4.x version installed on RHEL and I need to install same version on Solaris 10. How can I find out what packages/modules were compiled for RHEL so that I can download same for Solaris and compile them.

View 2 Replies View Related

Apache :: Reverse Proxy Modules - Error Reading Status Line From Remote Server

Oct 17, 2013

We have been using Apache 2.2.x with reverse proxy modules for our clients to access their OWA servers for over a year. I want to get us to Apache 2.4.x so I setup a test box with latest 2.4 on it. I fixed the config file issues since 2.4 has changes in it. OWA proxy is working on my test server with Apache 2.4. But with 2.4 I do have an issue I cannot figure out. Note that this does NOT occur with Apache 2.2. I get the following errors when using ActiveSync through reverse proxy:

[Thu Oct 17 12:19:11.670665 2013] [proxy_http:error] [pid 748:tid 8440] (OS 10060)A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. : [client x.x.x.x:20311] AH01102: error reading status line from remote server mail.nameredacted.net:443
[Thu Oct 17 12:19:11.670665 2013] [proxy:error] [pid 748:tid 8440] [client x.x.x.x:20311] AH00898: Error reading from remote server returned by /Microsoft-Server-ActiveSync

So somehow with Apache 2.4 there is some sort of timeout that was not there with 2.2.

View 2 Replies View Related

Deciding Between Processors

Jun 3, 2008

We are comparing these 2 systems:

Intel Quad Core Q9300
4x2.5 GHz
250GB Sata HD
2 GB of ram

vs.

P4 3.0 w/ HT
250GB Sata HD
2 GB of RAM

Thoughts? Would the quad core blow the other away? We are looking to take 2 of the P4 and condense them into 1 of the Q9300...thoughts?

Has anyone done something like this?

How well does the Q9300 perform?

View 5 Replies View Related

Deciding Between Liquidweb Or Zone.net

Sep 15, 2007

I'll be making the move from shared to VPS in the next month. I've looked at both Liquidweb and Zone.net -- they both look great but I'm not sure which one to go with!

Zone.net offers more memory with there VM200 plan compared to LW VPS1 plan (768mb vs 384mb). But LW also offers twice the storage.

My sites are for the most part static. I have a couple blogs and forums but not a whole lot traffic. One of my clients has several flash videos.

Is there a dramatic difference going from 384mb of memory to 768mb?

Any suggestions or personal experience with either service?
~ dan

View 7 Replies View Related

Apache Performance

Jun 14, 2008

my server load is max 1,it wont cross more than 1 but for 2 days iam getting 20 or more,but this load is extents for 1 or 2 min only after that it become normal to 0.58 around 1,in top i can able to see lotz apachi process when the load increase,

View 3 Replies View Related

Performance: Apache 2 Prefork Vs Apache 1.3

Jan 12, 2008

I'm building a new server for a predominantly php5/mysql5 website and was wondering which version of apache to put on. I know there are some issues with PHP and Apache in MPM, but what's the performance comparison between Apache 1.3 and Apache 2 Prefork?

View 4 Replies View Related

Apache :: CentOS - Measuring Performance Of Server

Feb 25, 2015

I have centos -7 and apache 2.4.6. I have made one small php scripts and measuring the performance of server.

Average time is around 15 ms for per request. But when adding concurrent requests the average time increase too much high for the request see the below output

ab -n 10000 http://127.0.0.1/1.php

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 14 17 2.6 15 35
Waiting: 0 1 0.2 1 10
Total: 14 17 2.6 15 35

With Concurrent connections

ab -n 1000 -c 100 http://127.0.0.1/1.php See the processing the mean request time its around 150 ms.

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.1 0 5
Processing: 25 150 24.7 153 213
Waiting: 2 134 25.2 138 194
Total: 29 150 24.1 153 216

ab -n 1000 -c 100 http://127.0.0.1/1.php See the processing the mean request time its around 150 ms when total request is 1000 only.

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.1 0 5
Processing: 25 150 24.7 153 213
Waiting: 2 134 25.2 138 194
Total: 29 150 24.1 153 216

How to configure the Apache so the request time decreas to low ms ???

In Centos -7 Default configuration of MPM Directory also not found ??? checked in httpd.conf and other file also.

View 1 Replies View Related

How Big Can Apache Access Log File Be Withouth Degrading The Performance Of A VPS

Nov 18, 2007

How big can Apache access log file be withouth degrading the performance of a solid VPS solution with 764MB RAM?

I want to have it as big as it gets withouth seriously degrading the performance...

View 1 Replies View Related

How Big Can Apache Access Log File Be Withouth Degrading The Performance Of A VPS

Nov 18, 2007

How big can Apache access log file be withouth degrading the performance of a solid VPS solution with 764MB dedicated RAM?

I want to have it as big as it gets withouth seriously degrading the performance...

View 3 Replies View Related

Apache :: Enabling Output Buffering And Zlib / How To Check Performance

May 22, 2014

Should I enable output buffering and zlib compression in PHP configuration editor to increase performance?

In global php.ini I have:

output_buffering = Off
;output_handler =
zlib.output_compression = Off
;zlib.output_handler =

View 1 Replies View Related

JaguarPC Performance VS. LiquidWeb Performance

Jul 13, 2007

I am using dreamhost host 3 of my web sites and 1 blog. Dreamhost is great, offers alot space and bandwidth.

but I think they are oversellling their space, sometimes it gets really slow. (overselling ? ok, I dont really know, but sometimes its really slow, and most my asian readers said need to refresh to load the page. I am wondering if theres a way to check if they are overselling or not.)

I am thinking about buying vps, even tho, I still got 5 month left with dreamhost.

I found 2 vps companies are highly recommanded on this forum, JaguarPC and LiquidWeb.

theres already a post compared both companies in terms of price and service. I say I will pick JagarPc, cuz, its basic plan just 20 USD, and htey got promotion now, its even cheaper. and basic Liquidweb vps plan is 60 bucks.

I am wondering why Jagarpc is so cheap , are they overselling? how can we check if they are overselling.

I found a few posts saying how good jaguarPc is. and they are not overselling, but those members just signed up this month, and only have 1-3 posts. I cannot really trust those new members.

Can someone share their experience with JaguarPC? compare JaguarPc performance and liquidweb performance. antoher question is switch from dreamhost to JaguarPC basic vPS plan, will performance gets better?

last question: VPS account allows 3 IP, 3ip = 3 domains? if not, how many domains can I have?

View 14 Replies View Related

Ipt Modules For CSF

Jul 4, 2009

I got a problem with CSF on my VPS. ipt_state and ipt_REDIRECT are not enabled on the node and I can't(and everyone else on the node) be using any ipt based firewall.

I asked a hosting company to enable those modules and I provided a simple guide(Edit /etc/sysconfig/iptables-config and /etc/sysconfig/vz on the hardware node. Add ipt_state and ipt_REDIRECT into IPTABLES_MODULES= and IPTABLES= lines correspondingly.)

I had the same problem on my old VPS provider and I provided the same guide and after it they restarted iptables and vz and it worked fine.

Tech in my current hosting company is saying they need to re-compile the kernel with those modules 1st in order to enabled those modules. They tried 2 times and the server didn't boot into a new kernel.

So, is there any other way to enable those modules without kernel re-compile.

I even think "modprobe" shout do the trick. modprobe ipt_state and modprobe ipt_REDITECT and then add those modules into 2 files as I said above and it whould be working fine?

View 2 Replies View Related

New Xen VPS Lacks Modules

May 2, 2008

CentOS 5. I can't run iptables.

/lib/modules is empty.

In /var/log/messages, this line is repeated many times:
modprobe: FATAL: Could not load /lib/modules/2.6.18-5-xen-686/modules.dep: No such file or directory

iptables -L gives this:
iptables v1.3.5: can't initialize iptables table `filter': iptables who? (do you need to insmod?)

Perhaps iptables or your kernel needs to be upgraded.

Is this something I can fix via yum install xxx or some other way, or is it something my provider has to do?

I tried yum install kernel-xen, but that installed 2.6.18-53 and modprobe is looking for 2.6.18-5

View 6 Replies View Related

Pear Modules

Sep 9, 2007

Trying to install Cerberus Help Desk and it gives this message during requirement check:

The following problems prevent you from running Cerberus Helpdesk 4.0:
upload_tmp_dir is empty in your php.ini file. Please set it.
The 'MailParse' PHP extension is required. Please enable it.
The 'Mail' PEAR package is required. Please install it.
The 'Mail_Mime' PEAR package is required. Please install it.
The 'Mail_mimeDecode' PEAR package is required. Please install it.
The 'Mail_RFC822' PEAR package is required. Please install it.
The 'Text_Password' PEAR package is required. Please install it.

how to apply this (on a vps) safely? Using Centos 4.5. I'm using Interworx control panel.

View 5 Replies View Related

Enabling Iptables Modules

Nov 2, 2009

This wiki page has discussed how to enable iptables modules in a VPS.

View 6 Replies View Related

Install Modules Of Iptables

Mar 6, 2008

I want to know about install IPTables modules -> modules name is 'Quota'

It's have way to install pure this modules directly to IPTables by not Build/ReBuild Kernel from Source

OS : CentOS 5.0
I must Mod Quota to IPTables for use Traffic Limit per VPS Node on OpenVZ Kernel

And everyone can tell me to simple to Traffic Control for VPS Node on OpenVZ

View 0 Replies View Related

Perl Modules Not Found

Sep 16, 2007

to install these two but whm did not find them

html2ps
ps2pdf

Only found this,
Meta::Tool:s2Pdf

not sure if that is the proper one anyway.

Using perl 5.8.8 / centos 4.5

View 6 Replies View Related

TYAN S2895A2NRF Cpu Retention Modules

Oct 8, 2007

If you know where to buy those modules, please let me know.

View 3 Replies View Related

Which Standard Modules To Be Installed On Your Dedicated Server

Jul 23, 2008

what are the standard modules which you normally need to get installed in your server or which you install ? from which you sell hosting to your customer or Which standard modules Is Most Important To Be Installed In Your Dedicated server ?

View 3 Replies View Related

Question To Hosts About PHP Configuration. Do Most Servers Have The Following Modules

Apr 25, 2007

This is a random question and I wasn't sure exactly where to start. But, I have developed some invoice software that use a few PHP modules. My host has these enabled by default, but I wanted to see if most hosts have these enabled or not. Heck, they might even by standard php configuration, I'm just not sure. Here they are:

PHP 5 with the following modules:

- dom
- dom-xslt
- gd
- mysql
- mbstring
- bcmath

View 3 Replies View Related

IPTables Rule Using Modules Limit & Length Simoultaneously

Apr 4, 2009

I am currently trying to limit incoming UDP length 20 packets on a per IP basis to 5 a second using IPTables on a Linux machine (CentOS 5.2).

Basically, if an IP is sending more than 5 length 20 UDP packet a second to the local machine, I would like the machine to drop the excess length 20 packets coming from that IP.

The modules that should work perfectly for this type of "rule set" are;

- Limiting module
- Length module

Both of which are installed / compiled with the kernel/IPTables correctly and functioning.

I have tried several rule sets, and they all seem to not fully work. Either they drop all UDP length 20 packets going to the local machine or allow all them through.

Below is one of the rule sets I use, and it is not working. Any ideas what the issue could be?

iptables -N UDPC1
iptables -A INPUT -p udp -m length --length 20 -j UDPC1
iptables -A UDPC1 -p udp -m length --length 20 -m limit --limit 5/second -j ACCEPT
iptables -A UDPC1 -j DROP

View 1 Replies View Related

MS SQL Performance

Sep 7, 2008

We run a very busy web application written in .net . The backend is SQL 2005. The server running SQL for this web app is slammed constantly. CPU is red lined, and the disks are queuing up because they cant keep up with the demand. What I am wondering is what do the big websites do to gain performance? What direction should we start moving in to get ahead of the curve. We are using an HP DL 580 with 4 x quad core xeons and the fastest SAS drives we could get.

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved