Author |
|
gee bee
Joined: 16 Aug 2006 Posts: 1
|
Posted: Wed 16 Aug '06 11:47 Post subject: php extensions not showing? |
|
|
Hi,
I followed the tutorial on how to get apache 2.2 running with php 5.1 and all is good apart from all of my files that had the .php extention are now apearing as for example
index.ZDE.file
instead of index.php
does anyone know how i can fix this? Thanks in advance |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 16 Aug '06 12:21 Post subject: |
|
|
Sure that your windows shows all extension from all files? Normaly Windows don't show it.
ZDE? Did you install Zend Studio?
If you followed the instruction from http://www.apachelounge.com/viewtopic.php?t=570
That should be.
Fix it, if the extension is realy .ZDE.file you can rename it
But I am not sure that .ZDE.file is correct. |
|
Back to top |
|
ldraper
Joined: 28 Aug 2006 Posts: 3 Location: Santa Cruz, CA
|
Posted: Mon 28 Aug '06 20:58 Post subject: similar problem -- php extensions not showing |
|
|
I have a similar problem. My Apache/php/MySql is set up properly, but when I try to open a file using IE with localhost, IE doesn't recognize php files. It doesn't list php as an option in the file pulldown menu.
Php files are visible using "all files" but I still can't click to open them.
Anyone recognize this problem? Something set up wrong in Apache?
Thanks in advance! |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Mon 28 Aug '06 21:33 Post subject: |
|
|
ldraper, I think you have an other issue then gee bee, maybe I am wrong.
In windows you have first associate the .php extension with a editor or php.exe.
Double click on a php file and check "Select a program from the list" and so on....Just basic windows stuff.
When you associate it with a editor then you see the code and when with php.exe then the script is executed by php.exe.
I have no idea why you want to see your files in that way. Just open it in a editor or open a DOS box to execute the scripts..
Steffen |
|
Back to top |
|
ldraper
Joined: 28 Aug 2006 Posts: 3 Location: Santa Cruz, CA
|
Posted: Mon 28 Aug '06 21:43 Post subject: |
|
|
I guess I'm explaining it wrong. I can't run my php files without typing the entire path/filename into the address bar. I want to click on the test.php file and have the browser serve up the results. Right now that only works if I type it.
If I type phpinfo() into localhost, it responds fine. If it click on the test.php file (phpinfo) that I made, nothing happens at all. This is true for all .php files. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Mon 28 Aug '06 22:29 Post subject: |
|
|
Slowly I begin to understand, I hope.
You want: Double clicking a .php and the output is showed in your browser ? For example when Double click on phpinfo.php the all the output appears in IE.
Steffen |
|
Back to top |
|
ldraper
Joined: 28 Aug 2006 Posts: 3 Location: Santa Cruz, CA
|
Posted: Mon 28 Aug '06 23:08 Post subject: |
|
|
Yes! The output does not appear in the browser after double clicking.
Sorry -- I guess the question is too simple or the questioner (that would be me) too dim. :~) |
|
Back to top |
|