Combination Apache + Php Problems

Delfos, Jacob Jacob.Delfos at MAUNSELL.COM
Wed Nov 15 15:59:17 PST 2006


Hi Karin,

Can you please elaborate on the "did not work" bit?
What errors are you getting?

The core bit in the apache configuration (httpd.conf) is this:

ScriptAlias /php/ "/php/"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
Action application/x-httpd-php "/php/php-cgi.exe"

This makes Apache execute PHP files. You may have to adjust it to suit your setup. And make sure to restart Apache after changes to httpd.conf.

Regards,

Jacob



 

» -----Original Message-----
» From: UMN MapServer Users List 
» [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Karin Kampitsch
» Sent: 15 November 2006 21:54
» To: MAPSERVER-USERS at LISTS.UMN.EDU
» Subject: [UMN_MAPSERVER-USERS] Combination Apache + Php Problems
» 
» Dear Mailing List,
» 
» I downloaded the mapserver package 4.8.4. In this package 
» also the Apache Version 2.0.58 and the Php version 5.1.4 is included.
» 
» I tried to open a php file, but it did not work! And so I 
» studied all the installation and configuration instructions 
» and this made me really confusing!
» 
» So do you know, is there anything I must do with the 
» different files in the Apache directory??? Or is there a 
» problem with the versions of Apache and PHP!
» 
» It would be very nice, if you could help me!
» 
» Yours desperate 
» 
» karin
» -- 
» "Ein Herz für Kinder" - Ihre Spende hilft! Aktion: 
» www.deutschlandsegelt.de
» Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen 
» America's Cup-Yacht!
» 



More information about the MapServer-users mailing list