Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • PeoplePods 0.9
  • Brackets Sprint 8
  • elFinder 2.0 RC1
  • BBClone 0.6.1
  • Twitter Follow Box...
  • Multilingual Press...
  • SimplePie 1.2.1
  • TinyTips 1.2
  • SWFUpload 2.2.0.1 ...
  • Head Cleaner 1.4.2.9
  • Home > Scripts > Modules > Apache Modules

    PyHP 1.0.0-beta

    Download button


    Downloads: 1,397  Tell us about an update
    User Rating:
    Rated by:
    Good (3.0/5)
    11 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    AXANT | More scripts
    pyhp.sourceforge.net
    Apache License 

    Linux / BSD / Solaris
    N/A
    Python
    August 3rd, 2011, 13:14 GMT
    C: \ Modules \ Apache Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    PyHP description

    This is an Apache module which embeds the Python language inside web pages

    mod_pyhp preprocesses scripts written in Python programming language, found inside a live web page.

    PyHP mixes the power and flexibility of Python with the style and “ease of use” of PHP in the generation of dynamic web pages, all speeded up by the fast internal backend written in C.

    Usage
    - Installation:
    autoreconf -i
    ./configure
    make
    sudo make install
    - Edit Apache configuration file (httpd.conf):
    LoadModule pyhp_module /usr/lib/apache2/modules/mod_pyhp.so
    AddType application/x-httpd-pyhp .pyhp
    - Restart Apache
    - The tag let you insert inline Python code. You can open, close and reopen a pyhp tag how many times you desire.
    - To include a PyHP script saved onto a file, you can use the special tag, with the following syntax: 
     

    Requirements:

    · Apache2 webserver.
    · APR libraries and build tools



    TAGS:

    embed python | process script | Apache module | embed | Python | page



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM