LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-17-2011, 06:17 AM   #1
jackssyntrio
LQ Newbie
 
Registered: Dec 2011
Posts: 9

Rep: Reputation: Disabled
Unhappy Php compilation


I have installed php-5.3.8 on my centos 5. But when i tried to load index.php page, instead of displaying page am getting a download window of index.php
 
Old 12-17-2011, 08:53 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,885

Rep: Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608
Hi,

If you installed php compiled from source, you need to add the following in httpd.conf
Code:
AddType application/x-httpd-php .php
Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Source compilation - different from pkgadd? agummad Solaris / OpenSolaris 3 08-14-2009 08:06 AM
PHP compilation APRESTOUS Linux - Newbie 3 09-30-2004 12:15 PM
PHP compilation problems with imap netw3rm Slackware 2 11-27-2003 08:27 PM
problems during apache+php compilation jogurt666 Linux - Software 1 11-11-2003 12:25 PM
Apache and PHP compilation WiWa Linux - Software 1 10-05-2003 12:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration