Can someone help me?

Ask a Question related to PHP Programming, Design and Development.

  1. #1

    Default Can someone help me?

    I've been trying to configure php and Apache 1.3.27 on my Windows XP.
    I'm only using the server for myself to learn php. I tried to follow
    what it says in the install.txt file on php, so I already have the
    LoadModule, AddModule, and AddType directives typed into the
    httpb.conf file. I also changed the php.ini file like it said in
    install.txt.

    The server works, but every php file I try to test out makes a
    download prompt come up. (I type in [url]http://localhost/hello.php[/url] and it
    tries to download the file instead of just opening it in IE.) It
    works for homemade html files though, so I think that php just isn't
    melding with apache, but I don't know why. Any help would be
    appreciated.

    Darren Yin
    Darren Yin Guest

  2. #2

    Default Re: Can someone help me?

    did you remember to restart the apache server after changing the configuration? =)

    On 18 Jul 2003 13:51:44 -0700
    [email]zyin23@yahoo.com[/email] (Darren Yin) wrote:
    > I've been trying to configure php and Apache 1.3.27 on my Windows XP.
    > I'm only using the server for myself to learn php. I tried to follow
    > what it says in the install.txt file on php, so I already have the
    > LoadModule, AddModule, and AddType directives typed into the
    > httpb.conf file. I also changed the php.ini file like it said in
    > install.txt.
    >
    > The server works, but every php file I try to test out makes a
    > download prompt come up. (I type in [url]http://localhost/hello.php[/url] and it
    > tries to download the file instead of just opening it in IE.) It
    > works for homemade html files though, so I think that php just isn't
    > melding with apache, but I don't know why. Any help would be
    > appreciated.
    >
    > Darren Yin
    Bob Guest

  3. #3

    Default Re: Can someone help me?

    "Darren Yin" <zyin23@yahoo.com> wrote in message
    news:6eab638.0307181251.274820a7@posting.google.co m...
    > I've been trying to configure php and Apache 1.3.27 on my Windows XP.
    > I'm only using the server for myself to learn php. I tried to follow
    > what it says in the install.txt file on php, so I already have the
    > LoadModule, AddModule, and AddType directives typed into the
    > httpb.conf file. I also changed the php.ini file like it said in
    > install.txt.
    >
    > The server works, but every php file I try to test out makes a
    > download prompt come up. (I type in [url]http://localhost/hello.php[/url] and it
    > tries to download the file instead of just opening it in IE.) It
    > works for homemade html files though, so I think that php just isn't
    > melding with apache, but I don't know why. Any help would be
    > appreciated.
    >
    > Darren Yin
    have you added lines like the 4 bellow to you apache 'httpd.conf' file ??

    start lines-------------

    AddType application/x-httpd-php .phtml .php .php3 .php4
    AddType application/x-httpd-php-source .phps

    ScriptAlias /apache/php/ "c:/apache/php/"
    Action application/x-httpd-php "/apache/php/php.exe"

    end line----------------

    any help??


    Jamie C Guest

  4. #4

    Default Re: Can someone help me?

    "Jamie C" <jamie.c@blueyonder.co.uk> wrote in message news:<Y70Sa.39778$4c.28400@news-binary.blueyonder.co.uk>...
    > "Darren Yin" <zyin23@yahoo.com> wrote in message
    > news:6eab638.0307181251.274820a7@posting.google.co m...
    > > I've been trying to configure php and Apache 1.3.27 on my Windows XP.
    > > I'm only using the server for myself to learn php. I tried to follow
    > > what it says in the install.txt file on php, so I already have the
    > > LoadModule, AddModule, and AddType directives typed into the
    > > httpb.conf file. I also changed the php.ini file like it said in
    > > install.txt.
    > >
    > > The server works, but every php file I try to test out makes a
    > > download prompt come up. (I type in [url]http://localhost/hello.php[/url] and it
    > > tries to download the file instead of just opening it in IE.) It
    > > works for homemade html files though, so I think that php just isn't
    > > melding with apache, but I don't know why. Any help would be
    > > appreciated.
    > >
    > > Darren Yin
    >
    > have you added lines like the 4 bellow to you apache 'httpd.conf' file ??
    >
    > start lines-------------
    >
    > AddType application/x-httpd-php .phtml .php .php3 .php4
    > AddType application/x-httpd-php-source .phps
    >
    > ScriptAlias /apache/php/ "c:/apache/php/"
    > Action application/x-httpd-php "/apache/php/php.exe"
    >
    > end line----------------
    >
    > any help??
    Actually, I found the problem, just a horrible mistype. It was
    because I had a # sign in front of the stuff I was supposed to add to
    the httpd.conf file. Thanks for your efforts anyways though.
    Darren Yin Guest

  5. #5

    Default Can Someone Help Me?

    Ok well.... last week I got a few virus's, so I downloaded a few virus programs
    to get ride of them. I also deleted TEMP INTERNET FILES, and COOKIE. I think I
    also deleted some java applets thinking they were the virus, and one of them
    was my macromedia flash player. Now I just got rid of all the virus's the other
    night, but now my internet/mac player never refreshes it self. I am in a yahoo
    fantasy baseball league, that is what I use the flash player for. But now
    everytime I go to load it up, it ask's me to download it, so I did, and again
    and agin more like 15 times. Everytime I try and load it up it ask's me to
    download it, or bypass it. When I bypass it, it loads up like it should, but
    then my stattracker is waaaayyy behind more like 3 dayz behind. This is also
    happening to my stat page as well, I always now have to hit refresh, but in my
    macromedia stattracker I can't hit refresh, cause there is none. This is really
    pissing me off. BTW, I don't have a copy of windows, so the OS I have on my
    comp is the only thing I have to work with. Does anyone have any clues?

    Email me or add me to either MSN or YMSG

    [email]dunit_96@yahoo.com[/email]

    Thank You for Reading This

    D_Unit Guest

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139