How to install apxs on xampp

I have a site where I am running the Apache server, and I want to run a python script using the server and a web browser. I use xampp and I researched that I need to use modwsgi and I downloaded zip and unzipped it on my desktop.Now using the command line, run

setup.py install 

The first time I did this, I did not have installation tools for python (I have python 2.7.8, and I'm 64 bit on Windows 7), so I went and downloaded this, but now that I run the command again . I get the following message

 RuntimeError: The 'apxs' command appears to not to be installed or is not exectuable. Please check the list of prerequistes in the documentation for the package and install any missing Apache httpd server packages. 

How can I install apxs because I don't have Apache, but xampp?

+5
source share
1 answer

I installed apxs on XAMPP on Windows. I wrote a blog post with a complete solution (in Spanish). I basically compiled my own version of apxs. The steps were:

  • Install ActiveState Perl for Windows
  • Add C:\xampp\apache\bin to the Path environment variable
  • Download apxs from here
  • Unzip the tar.gz file to C:\xampp\apache\bin .
  • Run:

ppm install dmake

cd c: \ xampp \ apache \ bin \ apxs

perl Configure.pl --with-apache2 = C: \ xampp \ apache --with-apache-programs = httpd.exe

+4
source

Source: https://habr.com/ru/post/1205567/


All Articles