Ask a Question related to PHP Programming, Design and Development.
-
Darren Yin #1
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
-
Bob #2
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 YinBob Guest
-
Jamie C #3
Re: Can someone help me?
"Darren Yin" <zyin23@yahoo.com> wrote in message
news:6eab638.0307181251.274820a7@posting.google.co m...have you added lines like the 4 bellow to you apache 'httpd.conf' file ??> 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
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
-
Darren Yin #4
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>...
Actually, I found the problem, just a horrible mistype. It was> "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??
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
-
D_Unit #5
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



Reply With Quote

