home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 1677
Discussions: 188,402, Posts: 2,243,609, Members: 232,632
Old January 26th, 2005, 02:17 PM     #31 (permalink)
Member
 
Join Date: Jan 2004
Posts: 242
none of the browsers worked differently than mozilla. (all tried to download the file because it could not run the app for php). i looked in my httpd.conf again and it doesnt load a php module. i tried adding
LoadModule php4_module modules/libphp4.so
and couldnt restart apache. it was telling me there was a conflict. i dont remember the wording (not on my home pc right now) but i will post the error when i get back to it.

engineuity is offline   Reply With Quote
Old January 26th, 2005, 03:00 PM     #32 (permalink)
Did you try Google yet?
 
Siliconjunkie's Avatar
 
Join Date: Feb 2003
Location: Buckhannon, WV
Posts: 3,466
Send a message via AIM to Siliconjunkie
php is not defined properly in the Apache MIME types. I don't recall where to put it, but a quick google should turn it up.
__________________
My computer is bigger than yours!

Siliconjunkie is offline   Reply With Quote
Old January 27th, 2005, 03:26 AM     #33 (permalink)
Senior Member
 
James T's Avatar
 
Join Date: Jul 2004
Location: New Zealand
Posts: 582
My mod_php.conf (pulled in by http.conf) has
mod_php.conf:AddType application/x-httpd-php .php
mod_php.conf:AddType application/x-httpd-php .xml

James T is offline   Reply With Quote
Old January 28th, 2005, 03:28 PM     #34 (permalink)
Member
 
Join Date: Jan 2004
Posts: 242
i have those lines included also

im guessing the apt-get isnt as effective (or personally configured) as installing from source. my last resort is trying to install from source this way i can configure it to use the php module. (there is a ton of documentation)
engineuity is offline   Reply With Quote
Old January 28th, 2005, 03:39 PM     #35 (permalink)
Senior Member
 
James T's Avatar
 
Join Date: Jul 2004
Location: New Zealand
Posts: 582
The only other thing I can think of is to wonder if your text editor is adding funny codes in your php file.

I'm still not getting a clear feeling over where your fault is lying, whether in your server or client. Have you tried using a web browser on a separate machine?
James T is offline   Reply With Quote
Old January 28th, 2005, 03:51 PM     #36 (permalink)
Perfetc Member
 
VHockey86's Avatar
 
Join Date: Jan 2003
Location: Maryland Suburbia
Posts: 4,327
Seems to be that the server is not processing the php and just treating it like a file to download... so something isn't setup properly
I highly doubt this is a browser thing.
VHockey86 is offline   Reply With Quote
Old January 28th, 2005, 04:26 PM     #37 (permalink)
Did you try Google yet?
 
Siliconjunkie's Avatar
 
Join Date: Feb 2003
Location: Buckhannon, WV
Posts: 3,466
Send a message via AIM to Siliconjunkie
Is php defined as a MIME type in httpd.conf?

This smacks of Apache not knowing how to process php files.
Siliconjunkie is offline   Reply With Quote
Old January 28th, 2005, 05:17 PM     #38 (permalink)
Senior Member
 
James T's Avatar
 
Join Date: Jul 2004
Location: New Zealand
Posts: 582
Yeah, but even when you turn mod_php off you can still read a .php file in a web browser and it shows correctly as a web page except that the components that should be processed by php are not and that part of the page is displayed as garbage.

I tried it.

So even if apache doesn't process php, it should still serve php files to the client. The client should then display them.

Hmmpfh, engineuity, try pulling a page with wget. This will dump the page raw as apache has delivered it. It is quite useful at pulling javascripts without running them and style sheets. Also make the file a html file but rename it to a php (server side) and include <? and ?> around some html. If php runs it'll hide the content. If not it won't.
James T is offline   Reply With Quote
Old January 28th, 2005, 07:13 PM     #39 (permalink)
Perfetc Member
 
VHockey86's Avatar
 
Join Date: Jan 2003
Location: Maryland Suburbia
Posts: 4,327
You'll need the text inside to be in an "echo" block for that to work though right?
VHockey86 is offline   Reply With Quote
Old January 28th, 2005, 07:26 PM     #40 (permalink)
Did you try Google yet?
 
Siliconjunkie's Avatar
 
Join Date: Feb 2003
Location: Buckhannon, WV
Posts: 3,466
Send a message via AIM to Siliconjunkie
Some relevant links I found:
http://www.php-editors.com/phphelp/a...p.general.html

Some other things I found suggest this happens if Apache cannot locate the PHP libraries or similar. I have no clue how to troubleshoot that, beyond double checking your PHP install.

Perhaps you installed the Debian Apache and compiled PHP?

Just some thoughts..
Siliconjunkie is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian install on NTFS HD? rsteve Linux and Unix 6 February 11th, 2004 11:55 PM
DO LINUX/WINDOWS USERS FAVOR INTEL/AMD ? MegalosSkylaki Applications and Operating Systems 39 January 2nd, 2003 06:21 PM
Linux sande Applications and Operating Systems 18 August 14th, 2002 09:30 PM
thinking of switching to mandrake freem Applications and Operating Systems 34 December 11th, 2001 09:11 PM

Most Active Discussions
Is It Just Me? (2906)
3-days in and no threads about Gaza (161)
Misery Loves Company... (2144)
New Build ( Finally ) (7)
CPU wont boot (7)
Building a gaming computer advice (5)
I think I just killed my computer w.. (24)
RCA 52Inch HDTV wont turn on (5)
Folderchat Weekday thread (444)
Recent Discussions
Futronix has water features? (0)
Laptop proccesor to desktop mob.. (2)
Please help! multiple problems! (4)
RCA 52Inch HDTV wont turn on (5)
New Build ( Finally ) (7)
Common Spyware Solutions (97)
How do you move a hard-drive to.. (4)
What is the best external enclo.. (0)
Partition Magic 7.0 (Unallocate.. (17)
Blackberry Storm, Gears of War .. (1)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 04:35 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



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