# Apache in Nginx server

**URL:** <https://www.ruby-forum.com/t/apache-in-nginx-server/208177>\
**Category:** NGINX\
**Created:** [June 11, 2011, 3:04pm UTC](https://www.ruby-forum.com/t/apache-in-nginx-server/208177 "2011-06-11T15:04:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [June 11, 2011, 3:04pm UTC](https://www.ruby-forum.com/t/apache-in-nginx-server/208177/1 "2011-06-11T15:04:51Z")

</div>

I removed Apache by “yum remove httpd” before installing Nginx. But  
php-fpm processes are associated with Apache (instead of Nginx) as (as  
seen by top command)

1590 root 21 0 13624 2096 340 S 0.0 0.4 0:00.00 nginx  
1592 nginx 15 0 13840 2984 992 S 0.0 0.6 0:00.40 nginx  
3591 apache 16 0 21348 6172 3600 S 0.0 1.2 0:36.20 php-fpm  
7200 apache 15 0 21604 6320 3620 S 0.0 1.2 0:35.27 php-fpm  
9980 apache 16 0 21596 6124 3556 S 0.0 1.2 0:13.14 php-fpm  
11382 apache 15 0 21540 6160 3536 S 0.0 1.2 0:04.33 php-fpm  
11477 apache 15 0 21700 6224 3524 S 0.0 1.2 0:04.67 php-fpm  
11484 apache 18 0 21584 6188 3508 S 0.0 1.2 0:04.80 php-fpm

Is it normal? why Apache is still alive in my server?

Posted at Nginx Forum:

> **[Apache in Nginx server](https://forum.nginx.org/read.php?2,205917,205917#msg-205917)**
>
> I removed Apache by "yum remove httpd" before installing Nginx. But php-fpm processes are associated with Apache (instead of Nginx) as (as seen by top command) 1590 root 21 0 13624 2096 340 S 0.0 0.4 0:00.00 nginx 1592 nginx 15 0 13840 2984

---

<div class="post-metadata">

**Author:** ![etrader](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/b5e925/32.png) [@etrader](https://www.ruby-forum.com/u/etrader)\
**Post date:** [June 11, 2011, 3:07pm UTC](https://www.ruby-forum.com/t/apache-in-nginx-server/208177/2 "2011-06-11T15:07:19Z")

</div>

On 6/11/11 9:04 AM, etrader wrote:

> 11382 apache 15 0 21540 6160 3536 S 0.0 1.2 0:04.33 php-fpm  
> 11477 apache 15 0 21700 6224 3524 S 0.0 1.2 0:04.67 php-fpm  
> 11484 apache 18 0 21584 6188 3508 S 0.0 1.2 0:04.80 php-fpm
> 
> Is it normal? why Apache is still alive in my server?

It appears that php-fpm is running under the “apache” user. As long as  
all is working ok, there is nothing to worry about.

–  
Jim O.

---

<div class="post-metadata">

**Author:** ![etrader](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/b5e925/32.png) [@etrader](https://www.ruby-forum.com/u/etrader)\
**Post date:** [June 11, 2011, 3:10pm UTC](https://www.ruby-forum.com/t/apache-in-nginx-server/208177/3 "2011-06-11T15:10:24Z")

</div>

## yes, you can modify the php-fpm.conf, change the user/group

blog: [http://chenxiaoyu.org](http://chenxiaoyu.org)
