Re: Ubuntu 22.04/Apache 2.4.58 can enable cgid, but not cgi
EML <[email protected]> Sun, 18 May 2025 11:27:15 +0100
| Newsgroups | gmane.comp.apache.user |
|---|---|
| Message-ID | <[email protected]> |
On 18/05/2025 10:43, EML wrote: > > > On 18/05/2025 02:29, Frank Gingras wrote: >> >> >> First, you are free to change the mpm to event by commenting out the >> LoadModule directive for prefork, and uncommenting the LoadModule >> directive for event. You will want to stop using the mod_php DSO if >> you change to the event mpm, mind you. >> >> As for your other questions, mod_cgi is to be used with prefork, and >> mod_cgid for worker/event. They don't mix. >> >> > Thanks, makes sense. Do you have any idea why CGIScriptTimeout is > flagged as a syntax error for mod_cgi? All I did was change the > existing 'CGIDScriptTimeout 240' by removing the 'D', and Apache won't > start, despite lsof showing that mod_cgi.so is loaded. > > Ok... so the docs actually say that CGIDScriptTimeout was introduced in 2.4.10, and CGIScriptTimeout in 2.4.59. Ubuntu 24.04.2 is on 2.4.58. My bad.