PHP installation on Ubuntu 12.04

Discussion in 'HOWTO-Related Questions' started by php_beginner, Jun 30, 2013.

  1. php_beginner

    php_beginner New Member

    Dear all

    I am new to php, I have already running tomcat web server on port 80, following are the details of tomcat




    PHP:
    CATALINA_BASE:   /usr/local/www/html/TOMCAT_DEMO/tomcat
    CATALINA_HOME
    :   /usr/local/www/html/TOMCAT_DEMO/tomcat
    CATALINA_TMPDIR
    : /usr/local/www/html/TOMCAT_DEMO/tomcat/temp
    JRE_HOME
    :        /usr/lib/jvm/jre1.7.0_11
    CLASSPATH
    :       /usr/local/www/html/TOMCAT_DEMO/tomcat

    port detail



    PHP:
        -->
        <
    Connector port="80" protocol="HTTP/1.1"
                   
    connectionTimeout="20000"
                   
    redirectPort="443" />
        <!-- 
    "Connector" using the shared thread pool-->
        <!--
        <
    Connector executor="tomcatThreadPool"
                   
    port="8080" protocol="HTTP/1.1"
                   
    connectionTimeout="20000"
                   
    redirectPort="8443" />
        -->

    I had tried to install php and apache2 using following link, but could not succeed, whenever I tried to run info.php in /var/www/
    it was getting downloaded instead of displaying php information , and my existing server running on tomcat stopped working

    http://www.howtoforge.com/installing-apache2-with-php5-and-mysql-support-on-debian-lenny-lamp

    please someone guide me to start php
     

Share This Page