Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Upgraded php, lost php file association

 
   Database Forums (Home) -> PHP RSS
Next:  simulating object upcasting to an interface in PH..  
Author Message
steve




Joined: Jan 06, 2004
Posts: 660



(Msg. 1) Posted: Wed Aug 11, 2004 12:34 pm
Post subject: Upgraded php, lost php file association

Hi,
I just upgraded my php but ran into a problem. Never seen this before.

Somehow it seems I lost php file association. When I do a http://localhost/something.php I get a prompt for dowload of a file. I went to folder options, and changed file associations so that ".php" is associated with php interpreter, but still get the same problem.

I am missing someting obvious. Can someone help. Thanks.

 >> Stay informed about: Upgraded php, lost php file association 
Back to top
Login to vote
steve




Joined: Jan 06, 2004
Posts: 660



(Msg. 2) Posted: Wed Aug 11, 2004 1:34 pm
Post subject: Re: Upgraded php, lost php file association [Login to view extended thread Info.]

steve wrote:
Hi,
I just upgraded my php but ran into a problem. Never seen this before.

Somehow it seems I lost php file association. When I do a http://localhost/something.php I get a prompt for dowload of a file. I went to folder options, and changed file associations so that ".php" is associated with php interpreter, but still get the same problem.

I am missing someting obvious. Can someone help. Thanks.


Problem solved. Uninstalled everything, and did a fresh install. Everything is ok now.

 >> Stay informed about: Upgraded php, lost php file association 
Back to top
Login to vote
Tony Marston

External


Since: Apr 21, 2004
Posts: 114



(Msg. 3) Posted: Wed Aug 11, 2004 1:54 pm
Post subject: Re: Upgraded php, lost php file association [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Upgraded PHP from what version to what version? What OS? What webserver?

The fact that your web server (Apache, I presume) is trying to download your
..php files instead of interpreting them points to an Apache problem, not a
file association problem in Windows (I assume).

You must check your Apache httpd.conf file and check that the 'LoadModule'
entry is pointing to the right place.

For php 4 I use LoadModule php4_module f:/php4/sapi/php4apache2.dll

For php 5 I use LoadModule php5_module f:/php5/php5apache2.dll

HTH.

--
Tony Marston

<a style='text-decoration: underline;' href="http://www.tonymarston.net" target="_blank">http://www.tonymarston.net</a>



"steve" wrote in message

 > Hi,
 > I just upgraded my php but ran into a problem. Never seen this
 > before.
 >
 > Somehow it seems I lost php file association. When I do a
 > <a style='text-decoration: underline;' href="http://localhost/something.php" target="_blank">http://localhost/something.php</a> I get a prompt for dowload of a file.
 > I went to folder options, and changed file associations so that
 > ".php" is associated with php interpreter, but still get the same
 > problem.
 >
 > I am missing someting obvious. Can someone help. Thanks.
 >
 > --
 > <a style='text-decoration: underline;' href="http://www.dbForumz.com/" target="_blank">http://www.dbForumz.com/</a> This article was posted by author's request
 > Articles individually checked for conformance to usenet standards
 > Topic URL:
<font color=purple> > <a style='text-decoration: underline;' href="http://www.dbForumz.com/PHP-Upgraded-lost-file-association-ftopict138694.html</font" target="_blank">http://www.dbForumz.com/PHP-Upgraded-lost-file-association-ftopict1386...html&lt</a>>
 > Visit Topic URL to contact author (reg. req'd). Report abuse:
<font color=purple> > <a style='text-decoration: underline;' href="http://www.dbForumz.com/eform.php?p=463590</font" target="_blank">http://www.dbForumz.com/eform.php?p=463590</font</a>><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Upgraded php, lost php file association 
Back to top
Login to vote
Matthias Esken2

External


Since: Feb 15, 2004
Posts: 11



(Msg. 4) Posted: Wed Aug 11, 2004 2:54 pm
Post subject: Re: Upgraded php, lost php file association [Login to view extended thread Info.]
Archived from groups: comp>lang>php (more info?)

steve wrote:

 > Problem solved. Uninstalled everything, and did a fresh install.

Ah, working the Windows way.

Regards,
Matthias<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Upgraded php, lost php file association 
Back to top
Login to vote
steve




Joined: Jan 06, 2004
Posts: 660



(Msg. 5) Posted: Wed Aug 11, 2004 4:06 pm
Post subject: Re: Upgraded php, lost php file association [Login to view extended thread Info.]

Matthias Esken wrote:
steve wrote:

> Problem solved. Uninstalled everything, and did a fresh install.

Ah, working the Windows way.

Regards,
Matthias


Yes, Tony and Matthias. I should've provided more info. Apache on Windows. Looks like it is very sensitive to reinstalls, and must be uninstalled first.
 >> Stay informed about: Upgraded php, lost php file association 
Back to top
Login to vote
Kristopher K. Krug

External


Since: Aug 11, 2004
Posts: 1



(Msg. 6) Posted: Wed Aug 11, 2004 7:01 pm
Post subject: Re: Upgraded php, lost php file association [Login to view extended thread Info.]
Archived from groups: alt>comp>lang>php, others (more info?)

steve wrote:

 > "steve" wrote:
  > > Hi,
  > > I just upgraded my php but ran into a problem. Never seen this
  > > before.
  > >
  > > Somehow it seems I lost php file association. When I do a
  > > <a style='text-decoration: underline;' href="http://localhost/something.php" target="_blank">http://localhost/something.php</a> I get a prompt for dowload of a file.
  > > I went to folder options, and changed file associations so that
  > > ".php" is associated with php interpreter, but still get the same
  > > problem.
  > >
  > > I am missing someting obvious. Can someone help. Thanks.
 >
 > Problem solved. Uninstalled everything, and did a fresh install.
 > Everything is ok now.
 >


good good
i guess i am not so sure that problems can be solved but
glad everything is ok now<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Upgraded php, lost php file association 
Back to top
Login to vote
Michael Fesser

External


Since: Jul 05, 2004
Posts: 107



(Msg. 7) Posted: Wed Aug 11, 2004 7:54 pm
Post subject: Re: Upgraded php, lost php file association [Login to view extended thread Info.]
Archived from groups: comp>lang>php (more info?)

.oO(steve)

 >Yes, Tony and Matthias. I should’ve provided more info. Apache on
 >Windows. Looks like it is very sensitive to reinstalls, and must be
 >uninstalled first.

Un-/re-installing something is the absolutely last possible measure and
in most cases _not_ necessary. Configuration errors can be fixed without
starting from scratch again.

Micha<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Upgraded php, lost php file association 
Back to top
Login to vote
Brian104

External


Since: May 15, 2004
Posts: 20



(Msg. 8) Posted: Sat Aug 14, 2004 12:21 am
Post subject: Re: Upgraded php, lost php file association [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Michael Fesser wrote:

 > .oO(steve)
 >
  >> Apache on Windows. Looks like it is very sensitive to reinstalls,
  >> and must be uninstalled first.
 >
 > Un-/re-installing something is the absolutely last possible measure
 > and in most cases _not_ necessary. Configuration errors can be fixed
 > without starting from scratch again.

Erm, did you see the "for Windows" bit above? Wink

--
Brian (remove ".invalid" to email me)
<a style='text-decoration: underline;' href="http://www.tsmchughs.com/" target="_blank">http://www.tsmchughs.com/</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Upgraded php, lost php file association 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
how do you open a file with quote marks in the file name o.. -

want to get content of one php file in another php file - i have one php file having content Contents of ex1.php file <body> <?php $content = "c://webserver/www/abc.php"; $handle = fopen($content, "r"); echo fread($handle,filesize($content)); ?> </body> this is reading abc...

getting the name of the PHP file - Hi! I am a PHP beginner, and I don't know my way around. Let's say I have a file named as "file.php". Is there a special variable that already includes the file name, or should I just manually code it into the script; i.e. $filename = "...

File selection? - I'm running some php scripts locally (Windoze XP) to operate on local files and, at least partly because I can't seem to access the parameters via argv[] or get it to print out in my DOS box, it seems sensible to run it via a web page (I'm running..

deleting row in csv file - hello, i have made a script to read/add and update rows in an csv file. it works fine. but when i change an existing row i want the original row to disapear. now i get two rows: the original one en the changed one. so my question is: how can i delete ...
   Database Forums (Home) -> PHP All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]