Jump to content

Python on WAMP


NArc0t1c

Recommended Posts

Hello there,

 

I have recently installed python, Did all the instructions as needed, step by step.

I had to rewrite my old httpd.conf, or did I?

Well, apache's error log isn't giving much about this, so I cannot get any information on what is causing this.

I have tried the config file with the python mod commented, and still nothing.

 

I have meanwhile re-installed apache2, it now works, but it's without the python module.

I have tried to edit my httpd.conf file, but still nothing.

Here is my config file(httpd.conf).

Attachment.

 

Thanks in advance.

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/69676-python-on-wamp/
Share on other sites

Well, the contents within the file, is what I see when trying to access it.

I know it won't work with it commented, I forgot to uncomment it when I uploaded it.

 

Well, I tried the syntax checking with httpd, and here is what I get.

C:\wamp\Apache2\bin>httpd -t
httpd: Syntax error on line 117 of C:/wamp/Apache2/conf/httpd.conf: Cannot load C:/wamp/Apache2/modu
les/mod_python.so into server: The specified procedure could not be found.

C:\wamp\Apache2\bin>

I read on modpython the website, in their FAQ they said to try and move pythonx.dll out of the windows dictionary, I tried that with no luck.

 

Thanks so var.

Ferdi

Link to comment
https://forums.phpfreaks.com/topic/69676-python-on-wamp/#findComment-350373
Share on other sites

Thank you, if I am getting your theory correctly, it should work if I point it to the dll(python24.dll).

 

But it still does not, here is my output for checking.

C:\wamp\Apache2\bin>httpd -t
httpd: Syntax error on line 117 of C:/wamp/Apache2/conf/httpd.conf: Can't locate API module structur
e `python_module' in file C:/wamp/Apache2/bin/python24.dll: No error

 

 

Thanks.

Ferdi

Link to comment
https://forums.phpfreaks.com/topic/69676-python-on-wamp/#findComment-350916
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.