Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #953

Re: PHP runs in WinXP command window but not in browser

From "Peter H. Coffin" <hellsop@ninehells.com>
Newsgroups comp.lang.php
Subject Re: PHP runs in WinXP command window but not in browser
Date 2011-04-04 17:31 -0500
Organization A noiseless patient Spider
Message-ID <slrnipkhli.2mh.hellsop@nibelheim.ninehells.com> (permalink)
References <c1edd513-4191-4d35-8325-9da8fd71f242@e21g2000yqe.googlegroups.com> <timstreater-DF4075.13394703042011@news.individual.net> <27ece291-ca5d-4873-9609-268a5cb0c896@f30g2000yqa.googlegroups.com>

Show all headers | View raw


On Sun, 3 Apr 2011 18:42:45 -0700 (PDT), Peter Lauren wrote:
> On Apr 3, 8:39?am, Tim Streater <timstrea...@waitrose.com> wrote:
>> The web server can be your own machine but this doesn't alter the basic
>> approach.
>
> I've been trying to run Apache which I downloaded from http://www.wampserver.com/en/.
> The PHP command works fine in the command Window but I did see a
> thread, on their forum, about Apache not starting.  The forum
> moderator said that could be because stuff like zonealarm, and
> firewall/antivirus may cause a conflict.  

If you've misconfigured them, maybe. Every sane firewall, including
every out-of-the-box one of the major vendors excepts localhost
connections from blocking, because many applications do that to
communicate internally, since Windows doesn't have OS sockets. *USUALLY*
a suggestion that a firewall is causing a problem on a local machines is
an indication that the speaker doesn't really have a clue and isn't
interested in the problem. 

> I have them running on my PC but I don't want to turn them off and
> make my PC vulnerable to hackers. Should I use a different version of
> Apache? Should I use WAMP at all?

WAMP's a perfectly reasonable thing to use. You'll need to make sure
that you've got the services started properly. Which means going back to
the WAMP setup and making sure you've dotted all the tees and crossed all
the eyes. Get that Apache working THEN worry about making PHP hook up to
it. It may be as simple as "you haven't turned it on yet".

-- 
If any foreign minister begins to defend to the death a "peace 
conference," you can be sure his government has already placed its 
orders for new battleships and airplanes.  -Joseph Stalin

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-03 04:54 -0700
  Re: PHP Runs In WinXP Command Window But Not In Browser Luuk <Luuk@invalid.lan> - 2011-04-03 14:03 +0200
    Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-03 18:36 -0700
      Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-03 21:54 -0400
        Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-04 03:41 -0600
          Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-06 13:36 -0700
            Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-06 22:14 +0100
              Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-06 20:54 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-07 09:08 +0100
            Re: PHP Runs In WinXP Command Window But Not In Browser "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2011-04-06 16:21 -0500
              Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-06 21:00 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-07 03:28 -0600
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-07 19:53 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2011-04-08 07:04 -0500
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-08 10:45 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-08 14:01 -0400
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-08 16:45 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-08 16:55 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-08 20:02 -0400
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-12 20:07 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-13 05:23 -0400
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-13 10:59 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-13 19:33 +0100
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-18 11:29 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser Michael Fesser <netizen@gmx.de> - 2011-04-13 20:36 +0200
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-18 14:08 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser "P E Schoen" <paul@pstech-inc.com> - 2011-04-19 01:31 -0400
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-28 08:17 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-13 04:46 -0600
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-18 09:05 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-04-18 17:22 +0000
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-18 14:35 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-19 03:15 -0600
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-28 11:05 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2011-04-08 19:57 -0500
                Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-08 22:49 -0400
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-12 20:31 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-13 04:58 -0600
                Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-13 13:23 +0100
                Re: PHP Runs In WinXP Command Window But Not In Browser "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2011-04-13 07:29 -0500
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-18 09:44 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-04-18 17:25 +0000
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-18 14:37 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser "James Carlock" <jcarlock1@somemail.com> - 2011-04-18 19:07 -0400
                Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-18 20:14 -0400
                Re: PHP Runs In WinXP Command Window But Not In Browser "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2011-04-18 22:05 -0500
                Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-19 06:03 -0400
                Re: PHP Runs In WinXP Command Window But Not In Browser "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2011-04-19 06:50 -0500
                Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-19 19:52 -0400
                Re: PHP Runs In WinXP Command Window But Not In Browser "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2011-04-19 21:00 -0500
                Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-19 22:12 -0400
                Re: PHP Runs In WinXP Command Window But Not In Browser "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2011-04-19 21:27 -0500
                Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-19 22:58 -0400
                Re: PHP Runs In WinXP Command Window But Not In Browser "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2011-04-19 22:56 -0500
                Re: PHP Runs In WinXP Command Window But Not In Browser "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2011-04-19 23:11 -0500
                Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-20 05:20 -0400
                Re: PHP Runs In WinXP Command Window But Not In Browser "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2011-04-20 07:27 -0500
                Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-20 16:44 +0100
                Re: PHP Runs In WinXP Command Window But Not In Browser The Natural Philosopher <tnp@invalid.invalid> - 2011-04-20 17:16 +0100
                Re: PHP Runs In WinXP Command Window But Not In Browser The Natural Philosopher <tnp@invalid.invalid> - 2011-04-20 11:30 +0100
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-19 18:59 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser "James Carlock" <jcarlock1@somemail.com> - 2011-04-24 09:23 -0400
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-29 12:46 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-29 12:45 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-09 02:29 -0600
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-12 20:33 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-13 05:25 -0400
                Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-13 05:00 -0600
                Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-13 13:43 +0100
                Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-13 08:17 -0600
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-13 11:16 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-13 15:12 -0400
                Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-14 04:37 -0600
                Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-14 08:53 -0400
                Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-14 12:47 -0600
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-18 14:10 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-04-13 20:57 +0000
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-18 14:22 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-19 03:42 -0600
                Re: PHP Runs In WinXP Command Window But Not In Browser Michael Fesser <netizen@gmx.de> - 2011-04-09 12:26 +0200
                Re: PHP Runs In WinXP Command Window But Not In Browser The Natural Philosopher <tnp@invalid.invalid> - 2011-04-09 12:10 +0100
                Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-09 17:09 +0100
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-12 20:43 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-13 05:08 -0600
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-12 20:43 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser William Gill <nospam@domain.invalid> - 2011-04-13 15:13 -0400
                Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-13 20:21 +0100
                Re: PHP Runs In WinXP Command Window But Not In Browser William Gill <nospam@domain.invalid> - 2011-04-13 19:22 -0400
                Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-14 10:10 +0100
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-12 20:57 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-13 13:20 +0100
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-18 09:19 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-19 03:42 -0600
                Re: PHP Runs In WinXP Command Window But Not In Browser William Gill <nospam@domain.invalid> - 2011-04-19 10:36 -0400
                Re: PHP Runs In WinXP Command Window But Not In Browser The Natural Philosopher <tnp@invalid.invalid> - 2011-04-19 18:46 +0100
                Re: PHP Runs In WinXP Command Window But Not In Browser Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-04-19 20:32 +0000
                Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-19 21:35 +0100
                Re: PHP Runs In WinXP Command Window But Not In Browser The Natural Philosopher <tnp@invalid.invalid> - 2011-04-19 22:19 +0100
                Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-19 19:52 -0400
                Re: PHP Runs In WinXP Command Window But Not In Browser William Gill <nospam@domain.invalid> - 2011-04-19 22:15 -0400
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-28 12:18 -0700
            Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-07 03:19 -0600
      Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-04 09:53 +0100
  Re: PHP runs in WinXP command window but not in browser Tim Streater <timstreater@waitrose.com> - 2011-04-03 13:39 +0100
    Re: PHP runs in WinXP command window but not in browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-03 18:42 -0700
      Re: PHP runs in WinXP command window but not in browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-03 21:55 -0400
      Re: PHP runs in WinXP command window but not in browser crankypuss <no@email.thanks> - 2011-04-04 03:48 -0600
        Re: PHP runs in WinXP command window but not in browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-06 13:43 -0700
      Re: PHP runs in WinXP command window but not in browser "Peter H. Coffin" <hellsop@ninehells.com> - 2011-04-04 17:31 -0500
        Re: PHP runs in WinXP command window but not in browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-06 20:40 -0700
  Re: PHP Runs In WinXP Command Window But Not In Browser Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-04-04 17:19 +0000
    Re: PHP Runs In WinXP Command Window But Not In Browser Jim Higgins <invalid@invalid.invalid> - 2011-04-05 18:36 +0000
      Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-05 16:07 -0400
      Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-05 23:01 +0100
      Re: PHP Runs In WinXP Command Window But Not In Browser Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-04-05 23:27 +0000
      Re: PHP Runs In WinXP Command Window But Not In Browser William Gill <nospam@domain.invalid> - 2011-04-13 12:14 -0400
    Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-06 20:18 -0700
    Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-06 20:19 -0700
      Re: PHP Runs In WinXP Command Window But Not In Browser Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-04-07 13:16 +0000
      Re: PHP Runs In WinXP Command Window But Not In Browser Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-04-07 14:09 +0000
        Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-08 10:33 -0700
          Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-08 14:00 -0400
        Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-08 10:34 -0700
          Re: PHP Runs In WinXP Command Window But Not In Browser Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-04-08 18:17 +0000
        Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-08 10:53 -0700
          Re: PHP Runs In WinXP Command Window But Not In Browser Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-04-08 18:30 +0000
            Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-12 20:06 -0700
              Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-13 05:11 -0600
              Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-13 13:25 +0100
              Re: PHP Runs In WinXP Command Window But Not In Browser William Gill <nospam@domain.invalid> - 2011-04-13 13:46 -0400
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-18 11:27 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser William Gill <nospam@domain.invalid> - 2011-04-18 19:15 -0400
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-28 08:12 -0700

csiph-web