[Pmwiki-users] clueless newbie can't configure Apache to run php

Ted Stern stern+pmwiki
Thu Sep 25 17:26:46 CDT 2003


For some reason, I'm unable to configure Apache to run php files, so I can't
even get pmwiki.php to run in my browser.

The best I can do is to get my browser to try and download pmwiki.php, which
doesn't help very much.

I've added the following to my httpd.conf file, sort of blindly groping around
for a fix:

      # Handle PHP files for PMWIKI:
      ScriptAlias /php4/ "/ptmp/stern/apache/php4/"
      AddType application/x-httpd-php .php
      AddHandler application/x-httpd-php /php4/php
      Alias /pmwiki/ "/ptmp/stern/apache/pmwiki/"
      <Directory "/ptmp/stern/apache/pmwiki">
          AllowOverride all
          Allow from all
          AcceptPathInfo on
      </Directory>

Any suggestions?  Why is this so hard to do?

Ted
-- 
 Ted Stern                                 Applications Group
 Cray Inc.                               office: 206-701-2182
 411 First Avenue South, Suite 600         cell: 206-383-1049
 Seattle, WA 98104-2860                     FAX: 206-701-2500

 Frango ut patefaciam -- I break that I may reveal
 (The Paleontological Society motto, equally apropos for debugging)



More information about the pmwiki-users mailing list