Apache Configuration Include Editor - Syntax Error
I'm trying to set "FcgidOutputBufferSize" per request_uri. Here is what I put into WHM->Apache Configuration->Include Editor->Post Virtual Host Include:
FcgidMaxRequestLen 1073741824
FcgidBusyTimeout 18000
FcgidIOTimeout 18000
FcgidOutputBufferSize 0
This is the error I got after saving:
Configuration problem detected on line 5 of file /usr/local/apache/conf/includes/post_virtualhost_global.conf: Invalid command ' 2FcgidMaxRequestLen 1073741824 3FcgidBusyTimeout 18000 4FcgidIOTimeout 18000 5 ===> <=== 6 FcgidOutputBufferSize 0 7 8 --- /usr/local/apache/conf/includes/post_virtualhost_global.conf ---
Any idea what's wrong? Thanks.
-
Do you use easyapache 3 - 4? How did you choose the php handler? 0 -
Per the error, it looks like you're adding line numbers to your configuration. Note that it says "2FcgidMax and then 3FcgidBusyTimeout" Remove those line numbers and you should be good. 0 -
Do you use easyapache 3 - 4? How did you choose the php handler?
Yeah I'm using easyapache 3. PHP Handler = fcgi. The issue is with this: FcgidOutputBufferSize 0 Without it there is no error.0 -
Per the error, it looks like you're adding line numbers to your configuration. Note that it says "2FcgidMax and then 3FcgidBusyTimeout" Remove those line numbers and you should be good.
No I don't have line numbers. They are from the error message. The issue is with this: FcgidOutputBufferSize 0 Without it there is no error.0 -
Hello, I'm unable to reproduce that error message on cPanel version 58 when adding those values. Could you let us know which versions of cPanel and EasyApache are installed on this system? Thank you. 0 -
Hello, I'm unable to reproduce that error message on cPanel version 58 when adding those values. Could you let us know which versions of cPanel and EasyApache are installed on this system? Thank you.
CLOUDLINUX 5.11 x86_64 WHM 56.0 (build 33) Easy Apache v3.34.4 Thanks!0 -
Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you. 0 -
Your support request ID: 7645489 0
Please sign in to leave a comment.
Comments
8 comments