Hello,
To get better performance for my site, I decided to use fcgid as PHP handler with SuExec, MPM worker and XCache. After reading documents, samples, discussions and blogs for several days, I finally get the basic things done. Well, it's not easy for a newbie :D
But I found the httpd runs as Nobody.
And, of course, suEXEC is on
I think the httpd should run as aaaa, right?
To get better performance for my site, I decided to use fcgid as PHP handler with SuExec, MPM worker and XCache. After reading documents, samples, discussions and blogs for several days, I finally get the basic things done. Well, it's not easy for a newbie :D
But I found the httpd runs as Nobody.
Here's part of the httpd.conf:7519 nobody 19 0 1164m 14m 3428 S 0.0 0.7 0:01.09 httpd
Code:
<VirtualHost >
ServerName aaaa.com
ServerAlias [url=http://www.aaaa.com]Aaaa.com[/url]
DocumentRoot /home/aaaa/public_html
ServerAdmin webmaster@aaaa
UseCanonicalName Off
CustomLog /usr/local/apache/domlogs/aaaa combined
CustomLog /usr/local/apache/domlogs/aaaa-bytes_log "%{%s}t %I .\n%{%s}t %O ."
## User aaaa # Needed for Cpanel::ApacheConf
ScriptAlias /cgi-bin/ /home/aaaa/public_html/cgi-bin/
Include "/usr/local/apache/conf/userdata/std/2/aaaa/aaaa/*.conf"
<IfModule !mod_disable_suexec.c>
SuexecUserGroup aaaa aaaa
</IfModule>
</VirtualHost>
Code:
Default PHP Version (.php files) 5
PHP 5 Handler fcgi
PHP 4 Handler none
Apache suEXEC on
Last edited: