index.php not loading HELP

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

    #1

    index.php not loading HELP

    hello all,

    I have installed apache and php following the instructions on this link

    which was very helpful:


    problem:

    OS: Windows XP
    INDEX.PHP NOT LOADING

    important: followed the instruction on the above link and added
    index.php to dicrectoryIndex on httpd.conf. and some scripts.

    I write either localhost or 127.0.0.1 which is basically the same and
    the status is ..opening http://localhost... and NOTHING HAPPENS.

    PLEASE HELP.

    Thank you

  • m2m tech

    #2
    Re: index.php not loading HELP

    Try the following:

    create a .htaccess file with the following line in your web folder:

    DirectoryIndex index.php





    greenflame wrote:
    hello all,
    >
    I have installed apache and php following the instructions on this link
    >
    which was very helpful:

    >
    problem:
    >
    OS: Windows XP
    INDEX.PHP NOT LOADING
    >
    important: followed the instruction on the above link and added
    index.php to dicrectoryIndex on httpd.conf. and some scripts.
    >
    I write either localhost or 127.0.0.1 which is basically the same and
    the status is ..opening http://localhost... and NOTHING HAPPENS.
    >
    PLEASE HELP.
    >
    Thank you
    >

    --
    --------------------------------------------
    m2m server software gmbh - http://www.m2m.at

    Comment

    • Jerry Stuckle

      #3
      Re: index.php not loading HELP

      greenflame wrote:
      hello all,
      >
      I have installed apache and php following the instructions on this link
      >
      which was very helpful:

      >
      problem:
      >
      OS: Windows XP
      INDEX.PHP NOT LOADING
      >
      important: followed the instruction on the above link and added
      index.php to dicrectoryIndex on httpd.conf. and some scripts.
      >
      I write either localhost or 127.0.0.1 which is basically the same and
      the status is ..opening http://localhost... and NOTHING HAPPENS.
      >
      PLEASE HELP.
      >
      Thank you
      >
      What else changed? You had it working a couple of weeks ago. Or at
      least you could load index.php.

      Can you still load http://localhost/.../index.php?

      What's in your Apache log?

      --
      =============== ===
      Remove the "x" from my email address
      Jerry Stuckle
      JDS Computer Training Corp.
      jstucklex@attgl obal.net
      =============== ===

      Comment

      • greenflame

        #4
        Re: index.php not loading HELP

        I tried installing it on another computer at my parents' home
        everything is cool in the computer where i've installed it the first
        time. but I just can't figure out why it's not loading there.
        it's like "opening page.... " and nothing.

        Thanks, Jerry.

        Jerry Stuckle כתב:
        greenflame wrote:
        hello all,

        I have installed apache and php following the instructions on this link

        which was very helpful:


        problem:

        OS: Windows XP
        INDEX.PHP NOT LOADING

        important: followed the instruction on the above link and added
        index.php to dicrectoryIndex on httpd.conf. and some scripts.

        I write either localhost or 127.0.0.1 which is basically the same and
        the status is ..opening http://localhost... and NOTHING HAPPENS.

        PLEASE HELP.

        Thank you
        >
        What else changed? You had it working a couple of weeks ago. Or at
        least you could load index.php.
        >
        Can you still load http://localhost/.../index.php?
        >
        What's in your Apache log?
        >
        --
        =============== ===
        Remove the "x" from my email address
        Jerry Stuckle
        JDS Computer Training Corp.
        jstucklex@attgl obal.net
        =============== ===

        Comment

        • Jerry Stuckle

          #5
          Re: index.php not loading HELP

          greenflame wrote:
          >
          Thanks, Jerry.
          >
          Jerry Stuckle כתב:
          >
          >>greenflame wrote:
          >>
          >>>hello all,
          >>>
          >>>I have installed apache and php following the instructions on this link
          >>>
          >>>which was very helpful:
          >>>http://www.tanguay.at/installPhp5.php5
          >>>
          >>>problem:
          >>>
          >>>OS: Windows XP
          >>>INDEX.PHP NOT LOADING
          >>>
          >>>important: followed the instruction on the above link and added
          >>>index.php to dicrectoryIndex on httpd.conf. and some scripts.
          >>>
          >>>I write either localhost or 127.0.0.1 which is basically the same and
          >>>the status is ..opening http://localhost... and NOTHING HAPPENS.
          >>>
          >>>PLEASE HELP.
          >>>
          >>>Thank you
          >>>
          >>
          >>What else changed? You had it working a couple of weeks ago. Or at
          >>least you could load index.php.
          >>
          >>Can you still load http://localhost/.../index.php?
          >>
          >>What's in your Apache log?
          >>
          >
          I tried installing it on another computer at my parents' home
          everything is cool in the computer where i've installed it the first
          time. but I just can't figure out why it's not loading there.
          it's like "opening page.... " and nothing.
          (Top posting fixed)

          It could be a lot of things related to your installation. Personally,
          if I were installing it for the first time I'd install WAMP- it's much
          easier. Even after installing several by hand I find getting everything
          working takes some work.

          The first question would be: can you do just a basic index.html page?
          See if Apache itself is working. If so, does a phpinfo() page work?
          Does it show the correct information? This will tell you if php is
          basically working.

          Also, as I suggested in alt.www.webmasters, try alt.apache.conf iguration
          for starts. See if you configuration is correct.

          P.S. When you post to multiple groups, please cross-post - don't
          multipost. And this group uses bottom-posting (like this) as a
          standard, not top posting (like your response). Thanks.

          --
          =============== ===
          Remove the "x" from my email address
          Jerry Stuckle
          JDS Computer Training Corp.
          jstucklex@attgl obal.net
          =============== ===

          Comment

          • IchBin

            #6
            Re: index.php not loading HELP

            Jerry Stuckle wrote:
            greenflame wrote:
            >>
            >Thanks, Jerry.
            >>
            >Jerry Stuckle כתב:
            >>
            >>greenflame wrote:
            >>>
            >>>hello all,
            >>>>
            >>>I have installed apache and php following the instructions on this link
            >>>>
            >>>which was very helpful:
            >>>http://www.tanguay.at/installPhp5.php5
            >>>>
            >>>problem:
            >>>>
            >>>OS: Windows XP
            >>>INDEX.PHP NOT LOADING
            >>>>
            >>>important: followed the instruction on the above link and added
            >>>index.php to dicrectoryIndex on httpd.conf. and some scripts.
            >>>>
            >>>I write either localhost or 127.0.0.1 which is basically the same and
            >>>the status is ..opening http://localhost... and NOTHING HAPPENS.
            >>>>
            >>>PLEASE HELP.
            >>>>
            >>>Thank you
            >>>>
            >>>
            >>What else changed? You had it working a couple of weeks ago. Or at
            >>least you could load index.php.
            >>>
            >>Can you still load http://localhost/.../index.php?
            >>>
            >>What's in your Apache log?
            >>>
            >>
            >I tried installing it on another computer at my parents' home
            >everything is cool in the computer where i've installed it the first
            >time. but I just can't figure out why it's not loading there.
            >it's like "opening page.... " and nothing.
            >
            (Top posting fixed)
            >
            It could be a lot of things related to your installation. Personally,
            if I were installing it for the first time I'd install WAMP- it's much
            easier. Even after installing several by hand I find getting everything
            working takes some work.
            >
            The first question would be: can you do just a basic index.html page?
            See if Apache itself is working. If so, does a phpinfo() page work?
            Does it show the correct information? This will tell you if php is
            basically working.
            >
            Also, as I suggested in alt.www.webmasters, try alt.apache.conf iguration
            for starts. See if you configuration is correct.
            >
            P.S. When you post to multiple groups, please cross-post - don't
            multipost. And this group uses bottom-posting (like this) as a
            standard, not top posting (like your response). Thanks.
            >
            Did you check your Apache 'http.conf' config file for the
            'DirectoryIndex ' option as mentioned before in this thread.

            You need to add 'index.php' to the end of the 'DirectoryIndex ' option.
            Once this is added when you load a subdirectory in a browser. apache
            will search for that file and if it finds it will load it as the first
            page.

            Example from my http.config file:

            #
            # DirectoryIndex: sets the file that Apache will serve if a directory
            # is requested.
            #
            # The index.html.var file (a type-map) is used to deliver content-
            # negotiated documents. The MultiViews Option can be used for the
            # same purpose, but it is much slower.
            #
            DirectoryIndex index.html index.html.var index.php

            Thanks in Advance...
            IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
            _______________ _______________ _______________ _______________ ______________

            'If there is one, Knowledge is the "Fountain of Youth"'
            -William E. Taylor, Regular Guy (1952-)

            Comment

            Working...