Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.