LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-29-2003, 05:49 PM   #1
Mikessu
Member
 
Registered: Sep 2003
Distribution: Gentoo, FreeBSD 5.1
Posts: 122

Rep: Reputation: 15
Apache + PHP4 on Debian


Hi
I've just installed Apache and it works fine but I need also php-support. I installed php with apt-get and then added mimetype for php-files... but when I click a php-file it starts downloading it to my computer.

My configuration file is in following address:
http://www.sourcecode.no/pastebin/en...key=gq1be71ckz
 
Old 12-29-2003, 09:00 PM   #2
bcarl314
Member
 
Registered: Jun 2003
Location: USA, Minnesota - Land of 10,000 lakes
Distribution: Red Hat 9, Mandrake 10
Posts: 56

Rep: Reputation: 15
Do you have these lines in your httpd.conf file???

Code:
 LoadModule php4_module /path/to/php/module
AddModule mod_php4.c
AddType application/x-httpd-php .php
 
Old 12-30-2003, 06:18 AM   #3
Mikessu
Member
 
Registered: Sep 2003
Distribution: Gentoo, FreeBSD 5.1
Posts: 122

Original Poster
Rep: Reputation: 15
Oh thanks, "AddModule mod_php4.c" was missing.
 
Old 12-31-2003, 12:59 AM   #4
w0000422
Member
 
Registered: Dec 2003
Distribution: redhat linux 9.0
Posts: 60

Rep: Reputation: 15
yes, i agree with bcar1314!
 
  


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
Help loading php4-gd with php4 already installed. (Debian) sdduuuude Linux - Software 3 10-24-2005 05:13 AM
apache can't load php4.so baosheng Linux - Software 1 10-10-2005 07:13 PM
Apache PHP4 Debian Sarge (2.6.8) Mauler Linux - Software 1 11-24-2004 06:24 PM
PHP4 + apache very slow MurrayL Linux - Software 1 04-23-2004 09:06 AM
Configuring Apache 1.37 for PHP4 dogn00dles Linux - Networking 7 07-20-2003 02:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:22 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
Open Source Consulting | Domain Registration