Jump to content

Apache 2 doesnt interpret php


superyupkent
 Share

Recommended Posts

  • 2 weeks later...
Guest Adriano

I have almost the same problem: apache 2 doesn't want to serve php; but in my case downgrading to 1.3 worked. Problem is, I did a reinstall of Mandrake 10 for completely different reasons, and now I can't find apache 1.3 (It doesn't show up on rpmdrake, and I can get no mirrors to get it, they are still b0rken). I have installed everything Steve mentioned, my httpd.conf has the correct filetypes listed...

Edited by Adrianovaroli
Link to comment
Share on other sites

Guest Adriano

... and Solved!

 

Edit

/etc/httpd/cof/httpd2.conf

Change this line (probably the last line in the file):

# Removed in apache 2---- Include  conf/addon-modules/php.conf

to this:

Include  conf/addon-modules/php.conf

Note: I removed the text before I wrote this, so the exact phrase might be different. Just tell me and I'll edit.

 

Restart apache with either

service httpd restart

from a root terminal or inside drakxservices in MCC.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...