apache - Installing mod_wsgi on WAMP server running on Windows 7

11
2013-08
  • de1337ed

    I downloaded mod_wsgi from the following location for apache 2.2 and python 2.7. (I'm trying to get django to run on my computer).

    Whenever I add the following line:

    LoadModule wsgi_module modules/mod_wsgi.so
    

    Apache fails to start up. Can anyone tell me what the issue might be?

  • Answers
  • Kris Hollenbeck

    I had this same problem.

    Make sure to download the 32bit module if running 32 bit and 64 if running 64. IE: Python, Apache, and your module should all be either 32 or 64. Also ensure that it is the right module for your version of python.

    I found this site to be useful for fining all modules.

    http://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_wsgi


  • Related Question

    Socket support using wamp in windows 7
  • Pennf0lio

    I'm running on windows 7 and using WAMP for my local development. Now I Install cultbooking in my wamp and can't finish my installation because it says sock "Socket support - Socket not supported". Any Ideas how I can make my socket available? I'm new to web development.

    Thanks!

    additional info ---------------------------------------------------------------

    This is what I did, I download the Cultbooking from the (sourceforge.net/projects/cultbooking/) and drag the files to my 'www' directory of my wamp. Now when i pointed my browser to my localhost it say

      PHP version >= 5.0 Yes
    
      zlib compression support Available
    
      XML support Available
    
      MySQL support Available
    
      Socket support Unavailable
    
      configuration.php Writeable
    

    Now my only problem is my Socket support. How do I enable it? if you're in my shoes, Any Ideas?

    Thanks!


  • Related Answers
  • Jakub

    I'm gonna guess with a quick google search: Cultbooking is this software

    Next time I would just put a direct link to it.

    But to the point, I'm also assuming this is a PHP application, and guessing socket means it might have something to do with MYSQL (database) connection. Have you configured the database settings for cultbooking?

    Without posting some log errors, or actual errors it is overly difficult and only worth guessing in trying to help with a solution.

    If you post a log entry we might be able to help more.

    EDIT:

    Based on your edit/update. Have you tried just enabling sockets in php.ini?

    ;extension=php_sockets.dll
    

    Uncomment ; and leave it as extension=php_sockets.dll then restart Apache. That should be all you need.