• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

lots of confusion in installation

 
sparsh khandelwal
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello everyone
i am trying to run the php program on browser
for that , first i download microsoft web installer through which i install php manager on iis then successfully install the php
now i able to run my php program on command prompt which means that i have successfully installed the php.
even i have download apache and tomcat.
while searching the youtube : come to know that during installation of php you need to configure with apache.
but i have already installed php through iis
now my problem is
1)i am not able to run my program on web browser ( even by iis).
2)not able to configure my apache and tomcat with already installed php
is there any need to uninstall php then configure it with apache
i want to run my webpage on all the three servers i have
please help
 
K. Tsang
Bartender
Posts: 3508
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From what I see, you want Apache(PHP) as a front end and Tomcat to execute Java? Just like those web hosting? If so look into mod_jk.

For example you have index.php and a java app called MyApp (which say maps to the URL "localhost/myapp"). Then when you type "localhost" will load up index.php then when you type "localhost/myapp" goes to Tomcat MyApp.

But first get Apache and Tomcat to work on their own first.
 
Nick Charles
Ranch Hand
Posts: 71
Linux PHP Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could manually configure Apache to work with PHP, the steps are fairly simple. This page in the documentation tells you how: http://www.php.net/manual/en/install.windows.apache2.php
Of course, the PHP installer will do the work for you, so you could uninstall PHP and reinstall it and select both IIS and Apache during the installation.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic