Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming

Reply
 
LinkBack Thread Tools
Old 10-14-09   #1 (permalink)
Linux Lobbyist
 
Join Date: Sep 2009
Posts: 8

Rep: 0 blue_flame Unknown
Unique Rep: 0
Trader Rating: 0
Default php file is being treated as an image

I saved a php file on my webserver. The webserver isn't running the php code, but instead it is displaying weird symbols.
I'm new to php and hosting a server.
I'm running Gentoo Linux, and it's an Apache server.

Is there any reason why that would happen?
__________________
Grab life by the nulls.

Last edited by blue_flame : 10-14-09 at 06:42 AM Reason: added more info
blue_flame is offline   Reply With Quote
Old 10-14-09   #2 (permalink)
News Fiend
 
kyotejones's Avatar
 
intel nvidia

Join Date: Mar 2007
Posts: 222

Rep: 32 kyotejones is acknowledged by some
Unique Rep: 29
Trader Rating: 0
Default

php might not be installed, you have a bad mimetype loaded in a .htaccess file, Apache config is not setup properly, your script is trying to set the page content type to something like an image. I am sure there are other possible reasons.
__________________
System: SCUD
CPU
Pentium C2D 2.4GHz
Motherboard
ASUS P5N32-E SLI
Memory
2x1Gb Balistix
Graphics Card
GeForce 7950 GT
Sound Card
SupremeFX (ADI 1988b)
Power Supply
ENERMAX Liberty 620W
Case
RAIDMAX SMILODON ATX
CPU cooling
ARCTIC COOLING Freezer 7
GPU cooling
Passive Heat Sink + CPU Fan
OS
Win XP Pro
Monitor
2x20" Samsung SyncMaster
kyotejones is offline   Reply With Quote
Old 10-15-09   #3 (permalink)
Programmer
 
xtascox's Avatar
 
intel nvidia

Join Date: Jul 2007
Location: Dallas, PA
Posts: 779

Rep: 37 xtascox is acknowledged by some
Unique Rep: 36
Trader Rating: 1
Default

What have you done so far in setting up the web server?
__________________

System: SVT
CPU
Q6600 @ 3.2ghz 1600fsb
Motherboard
EVGA 780i FTW
Memory
4GB OCZ Platimum
Graphics Card
2X EVGA 8800GTS 512
Hard Drive
160GB Seagate Barracuda 7200 SATA
Sound Card
Onboard Realtek ALC883
Power Supply
CORSAIR 750TX
Case
Chenming 901A
CPU cooling
Arctic Freezer 7 + Arctic Silver 5
GPU cooling
Stock Heatsink and fan
OS
Windows Vista Ultimate 64
Monitor
Hanns-G 22" LCD
xtascox is offline   Reply With Quote
Reply


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



All times are GMT -5. The time now is 04:07 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.09481 seconds with 8 queries