HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   PHP installation on Ubuntu 12.04 (http://www.howtoforge.com/forums/showthread.php?t=62402)

php_beginner 30th June 2013 11:56

PHP installation on Ubuntu 12.04
 
Dear all

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




PHP Code:

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 Code:

    -->
    <
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...ian-lenny-lamp

please someone guide me to start php


All times are GMT +2. The time now is 10:31.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.