Bluehost.com Web Hosting $6.95

install questions

This is a discussion on install questions within the PHP General forums, part of the PHP Programming Forums category; i just installed php and when i try to load a php file into the browser through apache, the file ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-25-2003
Rogue
 
Posts: n/a
Default install questions

i just installed php and when i try to load a php file into the browser
through apache, the file downloads instead of being displayed.

is this an apache problem or a problem with my php install?

thanks
Reply With Quote
  #2 (permalink)  
Old 10-25-2003
Burhan Khalid
 
Posts: n/a
Default Re: [PHP] install questions

rogue wrote:

> i just installed php and when i try to load a php file into the browser
> through apache, the file downloads instead of being displayed.
>
> is this an apache problem or a problem with my php install?


This is a problem with your php install (you need to make sure you edit
your httpd.conf with the information from the php install documentation).

More information > http://www.php.net/installation

You may also want to read the numerous install guides/tutorials that are
on the web -- I have written my own at the site in my signature (mine
discusses your problem and possible solutions). Lots of information out
there if you google :)

--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
Reply With Quote
  #3 (permalink)  
Old 10-25-2003
Jonathan Villa
 
Posts: n/a
Default Re: [PHP] install questions

What is your platform? Not that it mattes a whole lot...

Make sure the httpd.conf file has

#LoadModule php4_module modules/libphp4.so
LoadModule php5_module modules/libphp5.so
(whichever is the one you need, probably 4)

AddType application/x-httpd-source .phps
AddType application/x-httpd-php .php


On Fri, 2003-10-24 at 17:00, rogue wrote:
> i just installed php and when i try to load a php file into the browser
> through apache, the file downloads instead of being displayed.
>
> is this an apache problem or a problem with my php install?
>
> thanks

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 02:32 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0