How do I know PHP runs?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Deon H

    How do I know PHP runs?

    Hi there,

    I have downloaded the whole php zip file and extracted it at c:\php

    I know I have to do some alterations, with the most impoartant being to
    add php to the windows path. The install.txt file that comes with php,
    says I must make PHP part of the path.

    I could not find this in the text file. (So I need your help on this,
    please.)

    I think php isn't running on my PC because I get this error when trying
    to browse a *.php file:

    The Page cannot be found

    HTTP 400 - Bad Request
    Internet Information Services


    Thanx again for your prompt help and patience.

    Regards,

    Deon

  • CJ Llewellyn

    #2
    Re: How do I know PHP runs?

    "Deon H" <deonNOSPAM@pes s.co.za> wrote in message
    news:Xns9574559 7070E6deonNOSPA Mpesscoza@196.2 5.240.158...[color=blue]
    > Hi there,
    >
    > I have downloaded the whole php zip file and extracted it at c:\php
    >
    > I know I have to do some alterations, with the most impoartant being to
    > add php to the windows path. The install.txt file that comes with php,
    > says I must make PHP part of the path.
    >
    > I could not find this in the text file. (So I need your help on this,
    > please.)[/color]

    Now, next, and beyond: Tracking need-to-know trends at the intersection of business and technology



    Comment

    • Tony Marston

      #3
      Re: How do I know PHP runs?


      "Deon H" <deonNOSPAM@pes s.co.za> wrote in message
      news:Xns9574559 7070E6deonNOSPA Mpesscoza@196.2 5.240.158...[color=blue]
      > Hi there,
      >
      > I have downloaded the whole php zip file and extracted it at c:\php
      >
      > I know I have to do some alterations, with the most impoartant being to
      > add php to the windows path. The install.txt file that comes with php,
      > says I must make PHP part of the path.[/color]

      It must be defined in the Windows path which is part of the environment
      variables.
      [color=blue]
      > I could not find this in the text file. (So I need your help on this,
      > please.)
      >
      > I think php isn't running on my PC because I get this error when trying
      > to browse a *.php file:
      >
      > The Page cannot be found
      >
      > HTTP 400 - Bad Request
      > Internet Information Services[/color]

      Are you trying to run your PHP scripts in CLI mode or web server mode?

      --
      Tony Marston

      This is Tony Marston's web site, containing personal information plus pages devoted to the Uniface 4GL development language, XML and XSL, PHP and MySQL, and a bit of COBOL



      [color=blue]
      >
      > Thanx again for your prompt help and patience.
      >
      > Regards,
      >
      > Deon
      >[/color]


      Comment

      • Deon H

        #4
        Re: How do I know PHP runs?

        "Tony Marston" <tony@NOSPAM.de mon.co.uk> wrote in news:cjgk5u$a45 $1
        $8300dec7@news. demon.co.uk:
        [color=blue]
        >
        > "Deon H" <deonNOSPAM@pes s.co.za> wrote in message
        > news:Xns9574559 7070E6deonNOSPA Mpesscoza@196.2 5.240.158...[color=green]
        >> Hi there,
        >>
        >> I have downloaded the whole php zip file and extracted it at c:\php
        >>
        >> I know I have to do some alterations, with the most impoartant being[/color][/color]
        to[color=blue][color=green]
        >> add php to the windows path. The install.txt file that comes with[/color][/color]
        php,[color=blue][color=green]
        >> says I must make PHP part of the path.[/color]
        >
        > It must be defined in the Windows path which is part of the[/color]
        environment[color=blue]
        > variables.
        >[color=green]
        >> I could not find this in the text file. (So I need your help on this,
        >> please.)
        >>
        >> I think php isn't running on my PC because I get this error when[/color][/color]
        trying[color=blue][color=green]
        >> to browse a *.php file:
        >>
        >> The Page cannot be found
        >>
        >> HTTP 400 - Bad Request
        >> Internet Information Services[/color]
        >
        > Are you trying to run your PHP scripts in CLI mode or web server mode?
        >[/color]

        Tony,
        you ask if I want to run PHP scripts in CLI mode or web server mode.

        I really do not have any idea. All I want to do is to test my mySQL db
        on PHP I cannot do cgi scripting or any of those stuff.

        Any suggestions?

        Deon

        Comment

        • Deon H

          #5
          Re: How do I know PHP runs?

          Thanx CJ,
          I did as this page says, and still get the same error message.

          Any idea what I might be doing wrong?

          Deon

          Comment

          • Jeffrey Silverman

            #6
            Re: How do I know PHP runs?

            On Thu, 30 Sep 2004 11:15:00 +0000, Deon H wrote:
            [color=blue]
            > Thanx CJ,
            > I did as this page says, and still get the same error message.
            >
            > Any idea what I might be doing wrong?
            >
            > Deon[/color]

            Do any web pages work when you browse to them?
            For example, does browsing to the URL http://localhost/default.htm
            work?

            What is the path (what directory) where the website files and folders
            reside? Is this path properly set up in IIS?

            It just sounds like you have a misconfigured web server but you are not
            giving nearly enough information for anyone to really be able to help you.

            later...


            --
            Jeffrey D. Silverman | jeffreyPANTS@jh u.edu
            Website | http://www.newtnotes.com

            Drop "PANTS" to reply by email

            Comment

            Working...