LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-13-2003, 07:10 PM   #1
tharris
Member
 
Registered: Jun 2002
Location: Albany, GA
Distribution: Slackware 9.1, Debian Woody (2.4.18-bf2.4)
Posts: 34

Rep: Reputation: 15
php4 problem _ downloading index.php instead of displaying


I just did a fresh install of woody (3.0) and I am getting some strange errors using php4.

after the install ... i did and apt-get install php4 and php installed.
I copied over my webpage ... index.php pointed my browser to the site http://192.168.1.3/index.php and my browser keeps trying to download the index.php instead of running it through php. I looked at my httpd.conf and the module is loaded

LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

i even added the following lines

<IfModule libphp4.so>
AddType application/x-httpd-php .php .php4 .php3 .phtml
AddType application/x-httpd-php-source .phps
</IfModule>

still nothing ... help

tharris
 
Old 07-13-2003, 07:59 PM   #2
softcore26
Member
 
Registered: Jul 2003
Location: columbia
Distribution: Linux+XP
Posts: 40

Rep: Reputation: 15
change <IfModule libphp4.so> to <IfModule mod_php4.c>
 
Old 10-24-2003, 06:13 PM   #3
tgz
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
I have the same prob.

I don think I have my httpd.conf file config'd correctly. I'm now lookin' at php.ini, but without success.
 
  


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
index.php lord-fu Linux - Newbie 2 10-17-2005 01:52 PM
index.php help greenmeanie Debian 5 03-09-2005 02:31 AM
Apache2.0.52 + php4.39 +firefox downloading php rather than display mdkelly Linux - Software 3 10-30-2004 09:31 PM
What is the differnce PHP 4.2.0 and lower , PHP 4.2.2 and PHP4.3.6? Kitara Linux - Software 1 05-24-2004 11:55 AM
Apache php index.php problem neurotic Linux - Software 3 11-18-2003 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:43 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