Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger
  • Frits Walraven

lots of confusion in installation

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
Posts: 3648
Mac OS X Firefox Browser 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.
Ranch Hand
Posts: 71
PHP Linux 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:
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.
Liar, liar, pants on fire! refreshing plug:
Two software engineers solve most of the world's problems in one K&R sized book
    Bookmark Topic Watch Topic
  • New Topic