# Proxy\_fcgi:error errors when using PHP-FPM

**URL:** <https://forum.hestiacp.com/t/proxy-fcgi-error-errors-when-using-php-fpm/8678>\
**Category:** Uncategorized\
**Created:** [January 30, 2023, 5:52pm UTC](https://forum.hestiacp.com/t/proxy-fcgi-error-errors-when-using-php-fpm/8678 "2023-01-30T17:52:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vladimirb1](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/vladimirb1/32/3842_2.png) [@vladimirb1](https://forum.hestiacp.com/u/vladimirb1)\
**Post date:** [January 30, 2023, 5:52pm UTC](https://forum.hestiacp.com/t/proxy-fcgi-error-errors-when-using-php-fpm/8678/1 "2023-01-30T17:52:03Z")

</div>

hi guys need help please I get today proxy\_fcgi:error errors when using PHP-FPM  
see google today, some body set change Timeout in apache 30 to 300  
see its here?

 ![2023-01-30_124229](https://forum.hestiacp.com/uploads/default/original/2X/2/24c1359874625ed90e0a0b9d5ca9bc1d4b56c21e.png)

# My log error============================= [Mon Jan 30 12:03:36.408273 2023] [proxy\_fcgi:error] [pid 290817:tid 140308679464512] [client 170.187.164.227:0] AH01071: Got error ‘Primary script unknown’ [Mon Jan 30 12:03:36.447973 2023] [access\_compat:error] [pid 290817:tid 140309249906240] [client 170.187.164.227:0] AH01797: client denied by server configuration: /home/souztvco/web/dating.menplatform.com/public\_html/server-status [Mon Jan 30 12:03:41.165151 2023] [access\_compat:error] [pid 290817:tid 140308696249920] [client 170.187.229.198:0] AH01797: client denied by server configuration: /home/souztvco/web/dating.menplatform.com/public\_html/server-status [Mon Jan 30 12:03:41.190240 2023] [proxy\_fcgi:error] [pid 290817:tid 140309482370624] [client 170.187.229.198:0] AH01071: Got error ‘Primary script unknown’ [Mon Jan 30 12:18:26.791082 2023] [core:alert] [pid 293758:tid 140308654319168] [client 67.216.48.64:0] /home/souztvco/web/dating.menplatform.com/public\_html/.htaccess: Invalid command ‘Header’, perhaps misspelled or defined by a module not included in the server configuration

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [January 30, 2023, 7:17pm UTC](https://forum.hestiacp.com/t/proxy-fcgi-error-errors-when-using-php-fpm/8678/2 "2023-01-30T19:17:29Z")

</div>

> [@vladimirb1](#):
>
> Invalid command ‘Header’, perhaps misspelled or defined by a module not included in the server configuration

> **[Invalid Command 'Header', Perhaps Misspelled or Defined by a Module Not...](https://zaclee.net/apache/errors-apache/invalid-command-header)**
>
> How to fix the 'Header' error in Apache 2, running Ubuntu. Features a quick-fix of enabling the headers module.

Check google first.

---

<div class="post-metadata">

**Author:** ![vladimirb1](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/vladimirb1/32/3842_2.png) [@vladimirb1](https://forum.hestiacp.com/u/vladimirb1)\
**Post date:** [January 30, 2023, 7:29pm UTC](https://forum.hestiacp.com/t/proxy-fcgi-error-errors-when-using-php-fpm/8678/3 "2023-01-30T19:29:01Z")

</div>

th…you very much Eris ! Work now!

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [January 30, 2023, 7:29pm UTC](https://forum.hestiacp.com/t/proxy-fcgi-error-errors-when-using-php-fpm/8678/4 "2023-01-30T19:29:45Z")

</div>

First result on Google…

---

<div class="post-metadata">

**Author:** ![vladimirb1](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/vladimirb1/32/3842_2.png) [@vladimirb1](https://forum.hestiacp.com/u/vladimirb1)\
**Post date:** [January 30, 2023, 7:37pm UTC](https://forum.hestiacp.com/t/proxy-fcgi-error-errors-when-using-php-fpm/8678/5 "2023-01-30T19:37:28Z")

</div>

I TRY google “[proxy\_fcgi:error]” but only stooped answer, were you see in my log ‘Header’ error in Apache 2, I no see it’s  
ohhhhhh i see, sorry it’s here **Invalid command ‘Header’,**  
how about proxy\_fcgi:error? need to change proxy\_timout 30 to 300?

> /etc/apache2/mods-enabled/fcgid.conf  
> FcgidIdleTimeout 600  
> FcgidProcessLifeTime 600  
> FcgidConnectTimeout 600  
> FcgidIOTimeout 600  
> ProxyTimeout 600
