Can you provide the exact error message you are getting so can confirm if is the same?
Another possibility is that you don't have DLLs for the required SDK installed. I don't remember the details of this one. Also, because of Windows explorer API not necessarily showing extensions, have seen cases where people manage to not name the file properly. So double check the name of the file in the file system actually does match what is trying to be loaded. Use an absolute path if need be. Also make sure the ownership/permissions of the file is such that the user that the Apache service runs as can read it. Graham On 14 November 2012 22:22, Adnan Hussain <[email protected]> wrote: > Im getting the same issue but i have python 2.7 installed and i downloaded > the "mod_wsgi-win32-ap22py27-3.3.so" binary. > > I tried all the things above also but im getting the exact same error. > > Btw, im doing all this on windows 7 64bit, but i've installed apache 2.22 > 32 bit. > > > On Thursday, October 29, 2009 9:56:48 PM UTC+4, weiwei wrote: > >> Thanks >> >> It was version issue. i had python25 installed. I updated to python26. >> things are fine now. >> >> >> >> On Wed, Oct 28, 2009 at 7:31 PM, Graham Dumpleton >> <[email protected]> wrote: >> > >> > The next thing to double check then is that you installed Python for >> > all users on system and not just yourself. >> > >> > Apache on Windows does appear to give error messages which point at >> > the wrong problem as a cause. Thus, the issue may be that it finds and >> > attempts to load the module, but cant find the DLL for the Python >> > library because it wasn't installed machine wide and only for specific >> > user. >> > >> > Also just verify that you are installing Apache 2.2 and Python 2.6 as >> > that mod_wsgi binary requires. >> > >> > Graham >> > >> > 2009/10/29 [email protected] <[email protected]>**: >> >> >> >> thanks Graham, >> >> >> >> I have tried a few things: >> >> >> >> *)unintalled and reinstalled apache a few times. >> >> *)changed the name of mod_wsgi.so and property/permission a few times. >> >> >> >> >> >> still no luck... >> >> >> >> >> >> >> >> >> >> >> >> On Tue, Oct 27, 2009 at 6:57 PM, Graham Dumpleton >> >> <[email protected]> wrote: >> >>> >> >>> 2009/10/28 [email protected] <[email protected]>**: >> >>>> >> >>>> I got thie message when i started apache service >> >>>> >> >>>> ______________________________**______________________ >> >>>> The Apache service named reported the following error: >> >>>>>>> httpd.exe: Syntax error on line 128 of C:/data/apache/conf/httpd. >> **conf: Cannot load C:/data/apache/modules/mod_**wsgi.so into server: >> The specified module could not be found. . >> >>>> ______________________________**_______________________ >> >>>> >> >>>> Not sure what went wrong, I do have >> >>>> "C:/data/apache/modules/mod_**wsgi.so" I downloaded >> >>>> mod_wsgi-win32-ap22py26-2.6.so and changed name to mod_wsgi.so and >> put >> >>>> to C:/data/apache/modules/ >> >>> >> >>> How did you copy the file into place? >> >>> >> >>> The Apache service runs as a special user and depending on how file >> >>> was copied into place, it may not have the right permissions and >> >>> ownership such that that user can see/read the file. >> >>> >> >>> I have seen this problem when copying file into place with cygwin >> >>> command line tools. Was necessary to change group ownership of file >> >>> and permissions for it to work. >> >>> >> >>> Graham >> >>> >> >>> > >> >>> >> >> >> >> > >> >> >> > >> > > >> > >> > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/modwsgi/-/Jbpb1Q1pfBcJ. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
