Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

mod_python installation on CentOs 5.8

Discussion in 'cPanel Developers' started by sh_taras, Apr 13, 2012.

  1. sh_taras

    sh_taras Registered

    Joined:
    Apr 13, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    I have CentOS release 5.8 (Final) 64 bit
    Python version: /usr/bin/env python
    Python 2.4.3 (#1, Feb 22 2012, 16:05:45)
    [GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2

    Only installation from Subversion repository has been worked for me fine:
    1. # svn co asf - Revision 1325742: /quetzalcoatl/mod_python/trunk
    2. # cd trunk/
    3. # ./configure --with-apxs=/usr/local/apache/bin/apxs
    4. # make
    5. # make install
    6. # vim /usr/local/apache/conf.d/python.conf
    #
    # Mod_python is a module that embeds the Python language interpreter
    # within the server, allowing Apache handlers to be written in Python.
    #

    LoadModule python_module modules/mod_python.so
    7. # /usr/local/apache/bin/apachectl -t
    Syntax OK
    8. # /usr/local/apache/bin/apachectl -k graceful

    None of versions form Archive FTP Index of /dist/httpd/modpython are worked with different errors.
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello,

    What is the specific question being asked? This does not appear to be a developer question for using the API or coding, so that's why I am trying to determine the purpose of the thread.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice