# FastCGI issue

**URL:** <https://forum.virtualmin.com/t/fastcgi-issue/27820>\
**Category:** Help! (Home for newbies)\
**Created:** [November 9, 2007, 9:06am UTC](https://forum.virtualmin.com/t/fastcgi-issue/27820 "2007-11-09T09:06:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![angelberriosdavila](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/a/9fc29f/32.png) [@angelberriosdavila](https://forum.virtualmin.com/u/angelberriosdavila)\
**Post date:** [November 9, 2007, 9:06am UTC](https://forum.virtualmin.com/t/fastcgi-issue/27820/1 "2007-11-09T09:06:03Z")

</div>

I have an ubuntu 6.06 LTS running a Virtualmin Professional License in a XEN Hosted DOM with the ubuntu xen kernel as per ubuntu repository.

The issue is that when I have this configuration:

1 virtual server  
2 sub-servers and 1 alias of this virtual server  
with website enable on all of them.

Can I enable different PHP script execution mode options?

For example virtualmin will let me set up the virtual server as fastcgi and 4 sub-processes with the two sub-servers and the alias run as Apache’s user, when in reality it will run all of them as fastcgi (as a matter of fact it will keep creating php5-cgi processes).

For example If I have defined:

virtual server - FCGId (run as virtual server owner) with 4 subprocesses  
sub-server and alias - Apache mod\_php

What it really does:

It will treat ALL of them as FCGId with # ps axu | grep [ID of virtual server]

[ID] 11381 0.0 0.4 15220 4748 ? Ss 08:24 0:00 /usr/bin/php5-cgi  
[ID] 11382 0.1 1.2 24780 14656 ? S 08:24 0:02 /usr/bin/php5-cgi  
[ID] 11383 0.1 1.2 25016 14896 ? S 08:24 0:02 /usr/bin/php5-cgi  
[ID] 11384 0.2 1.3 25908 15768 ? S 08:24 0:02 /usr/bin/php5-cgi  
[ID] 11386 0.2 1.2 25120 15000 ? S 08:24 0:02 /usr/bin/php5-cgi  
[ID] 11595 0.0 0.4 15220 4752 ? Ss 08:26 0:00 /usr/bin/php5-cgi  
[ID] 11596 0.1 1.2 24800 14680 ? S 08:26 0:02 /usr/bin/php5-cgi  
[ID] 11597 0.2 1.2 25020 14900 ? S 08:26 0:03 /usr/bin/php5-cgi  
[ID] 11598 0.2 1.2 25076 14956 ? S 08:26 0:03 /usr/bin/php5-cgi  
[ID] 11600 0.1 1.2 25080 14964 ? S 08:26 0:02 /usr/bin/php5-cgi

Lets say it will treat all of them as FCGId - Why we have 10 processes if the sum of all PHP\_FCGI\_CHILDREN is 7 in all the php5.fcgi configuration files?

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [November 9, 2007, 6:34pm UTC](https://forum.virtualmin.com/t/fastcgi-issue/27820/2 "2007-11-09T18:34:06Z")

</div>

Howdy Angel,

I dunno! mod\_fcgid is a bit of a mystery to me. 😉

Maybe this has something to do with it:

[http://bugs.php.net/bug.php?id=40286](http://bugs.php.net/bug.php?id=40286)

So, it seems like maybe specifying any PHP\_FCGI\_CHILDREN can cause problems with buggy PHP versions. Problematic.

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [April 30, 2020, 5:29am UTC](https://forum.virtualmin.com/t/fastcgi-issue/27820/3 "2020-04-30T05:29:39Z")

</div>

Closed on April 30, 2020, 5:29am UTC


