Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apache with VC17 is not supported for fast CGI - fcgid.conf updated incorrectly #892

Open
Sophist-UK opened this issue Oct 16, 2024 · 4 comments

Comments

@Sophist-UK
Copy link

Sophist-UK commented Oct 16, 2024

Apache versions are now compiled with VS17, and Laragon automatically sets the 1st line of fcgid.conf to
LoadModule fcgid_module "D:/Laragon/etc/apache2/modules/mod_fcgid-2.3.9-Win64-vs17.so"
however this file does not exist.

Laragon needs to check for the latest FCGID and VS versions for which there is a mod_fcgid-*-win64-vs*.so file and use that.

In this case it should be LoadModule fcgid_module "D:/Laragon/etc/apache2/modules/mod_fcgid-2.3.10-win64-VS16.so".

Note: A workaround is to edit the file manually and then set the read-only property.

@FlavioSuarez
Copy link

Hi,

If I remember, this issue could be related to your current PHP being [TS] (thread safe) or not...

@Sophist-UK
Copy link
Author

It is indeed indirectly related to that. I have installed a non-thread-safe version of PHP so that I can use it with nginx. And Laragon has correctly detected that and has "included" fcgid.conf as a direct consequence - but has created a version of fcgid.conf that points to a non-existent module file (which is a bug).

@FlavioSuarez
Copy link

Ah, ok. Got your point.

@Sophist-UK
Copy link
Author

I have added something to the Wiki to give the workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants