PHP not parsing, downloading as a file instead

Support for webhosts that use CentOS
Post Reply
philwareham
Posts: 1
Joined: 2011/05/09 11:59:24
Contact:

PHP not parsing, downloading as a file instead

Post by philwareham » 2011/05/09 12:10:44

I've just got a new CentOS 5.6 server install from my hosting company. It also has Plesk v10.2 on it. I've linked it to the atomic repos and amongst other things upgraded PHP to v5.3.

When I try to open any PHP pages from a domain on this server from a browser the page is being downloaded as a file and not parsed in the browser. What do I need to set to fix this? Something in php.ini or a mime type of something?

Thanks, Phil

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

PHP not parsing, downloading as a file instead

Post by pschaff » 2011/05/09 18:09:37

Welcome to the CentOS fora. Reading [url=https://www.centos.org/modules/newbb/viewforum.php?forum=47]FAQ & Readme First[/url] is recommended for new users.

Plesk and Atomic are both well-known for making radical changes, to the point that the result can no longer really be called CentOS. It may to be difficult to get good advice from here. Your best bet is probably to use [url=http://www.atomicorp.com/forum/]Atomic[/url] or [url=http://forum.parallels.com/forumdisplay.php?f=479]Plesk[/url] support channels, although someone here could still come to the rescue.

[url=http://wiki.centos.org/AdditionalResources/OtherVoices]Other Voices[/url]
[url=http://wiki.centos.org/AdditionalResources/OtherSpins]When CentOS Is Not CentOS[/url]
[url=http://wiki.centos.org/TipsAndTricks/BrokenVserver]Broken Virtual Server[/url]

Post Reply

Return to “CentOS 5 - Webhosting Support”