Techware Labs Header

Forums have moved

See this announcement for more details, or just go directly there.

  #1  
Old 01-25-2002, 09:48 AM
Simo
 
Posts: n/a
Default Apache Server Config..

Hey what line do I edit in the latest version of Apache to set it up to read .php files?

Ive been running Xitami but it has problems with server load etc etc and we all know apache is good (and free) so Im changin over to that.

Need to get it reading .php files quick or im in trouble
Reply With Quote
  #2  
Old 01-25-2002, 05:38 PM
wizbones wizbones is offline
Golden Techie
 
Join Date: Sep 2001
Location: Stayton, OR
Posts: 699
Send a message via Yahoo to wizbones
Default Re: Apache Server Config..

When you install it you need to compile and build it for php.

Are you doing on a linux box or windows box?

In the httpd.conf file you need the following:

Code:
<IfModule mod_dir.c>
    DirectoryIndex index.shtml index.html index.php index.php3
</IfModule>

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

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
These should all be in there already just may be commented out. If this doens't help give me some error messages or config that you currently have or heck just email me.

Laters.
__________________
Wizbones PC
http://www.wizbonespc.com
--------------------------------------------------------
The Maximum Effective Range of an Excuse is Zero point Zero Meters!
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:28 PM. Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum style by ForumMonkeys.