Author Topic: PHP Works on Server but not from another browser  (Read 372 times)

anegin

  • New Member
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
PHP Works on Server but not from another browser
« on: May 23, 2012, 09:09:34 AM »
When I run my PHP application directly from the server using http://localhost:81/ it works.  When I try to access the server from another browser by running http://ifw-2k8fs4:81/ it doesn't work.  Any ideas what the problem might be?

I have PHP on ifw-2k8fs4 and MySQL on ifw-2k8fs3.  I'm running IIS 7 on ifw-2k8fs4.  I do not have an apache server running.  I figured that was my problem.  I installed apache on the ifw-2k8fs4 server using port 81 and tried to run the application.  Instead of the application running I got back a message saying It works!

I uninstalled apache, and now I'm back to my original problem.  Any ideas?

RaythXC

  • PHP Programmer & Web-Designer
  • Expert PHP Helper
  • Senior Member
  • *****
  • Posts: 395
  • Karma: 10
  • Freelance PHP Programmer/Web-Designer
    • View Profile
    • Rayth.Info
Re: PHP Works on Server but not from another browser
« Reply #1 on: June 06, 2012, 04:38:18 PM »
PHP doesn't run on its own. Either way your still going to need a web-server such as Apache.
RaythXC - My Home Site
Note: most answers I give come from the php manual located at PHP.Net