PHP Win98 Install Problem

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

    #1

    PHP Win98 Install Problem

    i'm following this tutorial



    i downloaded apache and got the test page on http://localhost:8080.

    i followed their php instructions to a "T" (i use win 98). i browsed
    the test.php page and got th eunderlying plain text in html format.

    any ideas for troubleshooting would be appreciated.

    tia...

    unrelated ps - how does one cross post on google? tia...
  • David Robley

    #2
    Re: PHP Win98 Install Problem

    In article <ce78746a.03090 81532.ad78a13@p osting.google.c om>,
    jskeith1@san.rr .com says...[color=blue]
    > i'm following this tutorial
    >
    > http://internetmaster.com/installtut...wnload_php.htm
    >
    > i downloaded apache and got the test page on http://localhost:8080.
    >
    > i followed their php instructions to a "T" (i use win 98). i browsed
    > the test.php page and got th eunderlying plain text in html format.
    >
    > any ideas for troubleshooting would be appreciated.
    >
    > tia...
    >
    > unrelated ps - how does one cross post on google? tia...
    >[/color]
    Have you edited your apache configuration file to include php and
    restarted apache? This assumes you are intending to use php as an apache
    module.

    My httpd.conf has
    LoadModule php4_module C:\FoxServ/php4/sapi/php4apache.dll
    # Loads the php module in apache; your path will probably be different

    AddType application/x-httpd-php .php4 .php .php3
    # Tells which file extensions should be parsed by php

    AddType application/x-httpd-php-source .phps
    # Tells which file extension should show highlighted source of php
    # (optional)

    --
    Quod subigo farinam

    $email =~ s/oz$/au/o;
    A: Because it messes up the order in which people normally read text.
    Q: Why is top-posting such a bad thing?
    A: Top-posting.
    Q: What is the most annoying thing on usenet?

    Comment

    • Randell D.

      #3
      Re: PHP Win98 Install Problem


      "David Robley" <robleyd@ozemai l.com.au> wrote in message
      news:MPG.19c7e8 6bbac33379896d2 @news.spiderweb .com.au...[color=blue]
      > In article <ce78746a.03090 81532.ad78a13@p osting.google.c om>,
      > jskeith1@san.rr .com says...[color=green]
      > > i'm following this tutorial
      > >
      > > http://internetmaster.com/installtut...wnload_php.htm
      > >
      > > i downloaded apache and got the test page on http://localhost:8080.
      > >
      > > i followed their php instructions to a "T" (i use win 98). i browsed
      > > the test.php page and got th eunderlying plain text in html format.
      > >
      > > any ideas for troubleshooting would be appreciated.
      > >
      > > tia...
      > >
      > > unrelated ps - how does one cross post on google? tia...
      > >[/color]
      > Have you edited your apache configuration file to include php and
      > restarted apache? This assumes you are intending to use php as an apache
      > module.
      >
      > My httpd.conf has
      > LoadModule php4_module C:\FoxServ/php4/sapi/php4apache.dll
      > # Loads the php module in apache; your path will probably be different
      >
      > AddType application/x-httpd-php .php4 .php .php3
      > # Tells which file extensions should be parsed by php
      >
      > AddType application/x-httpd-php-source .phps
      > # Tells which file extension should show highlighted source of php
      > # (optional)
      >
      > --
      > Quod subigo farinam
      >
      > $email =~ s/oz$/au/o;
      > A: Because it messes up the order in which people normally read text.
      > Q: Why is top-posting such a bad thing?
      > A: Top-posting.
      > Q: What is the most annoying thing on usenet?[/color]


      and... copy

      php4apache.dll and php.ini in to place (I think the php4apache.dll can sit
      in c:\windows\ or c:\windows\syst em or the same folder that has your php.exe
      file and the php.ini file I think must (?) sit in c:\windows



      Comment

      • Jeff Skeith

        #4
        Re: PHP Win98 Install Problem

        i think my problem may the where the tutorial says to add...

        DocumentRoot "C:/Web"
        <Directory "C:/Web">

        to my apache config file.



        i think that is a typo and should read with backward slashes like this...

        DocumentRoot "C:\Web"
        <Directory "C:\Web">

        i haven't updated my apache config file yet, but i think this may get me on my way.

        i hope so, anyway. ;-)



        jskeith1@san.rr .com (Jeff Skeith) wrote in message news:<ce78746a. 0309081532.ad78 a13@posting.goo gle.com>...[color=blue]
        > i'm following this tutorial
        >
        > http://internetmaster.com/installtut...wnload_php.htm
        >
        > i downloaded apache and got the test page on http://localhost:8080.
        >
        > i followed their php instructions to a "T" (i use win 98). i browsed
        > the test.php page and got th eunderlying plain text in html format.
        >
        > any ideas for troubleshooting would be appreciated.
        >
        > tia...
        >
        > unrelated ps - how does one cross post on google? tia...[/color]

        Comment

        Working...