[Mapserver-users] Code of PHP CGI Program Displayed
woodbri at swoodbridge.com
woodbri at swoodbridge.com
Sun Feb 16 06:14:43 PST 2003
Hi,
I just built Mapserver 3.7 on RH8, you can see what I did here
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?RedHat8AndMapserver37
It might not be exactly the same for 3.6.4 but it might help.
-Steve W.
On 15 Feb 2003 at 21:47, Toshimi Minoura wrote:
> Hi All,
>
> We are trying to make MapServer 3.6.4 work with PHP
> on RedHat Linux 8.0.
>
> We placed the CGI program php in /var/www/cgi-bin.
> Another CGI program in this directory is correctly executed
> as a CGI program,
>
> We then aded the lines
>
> Action phtml-script /cgi-bin/php
> AddHandler phtml-script .phtml
>
> to file /etc/httpd/conf.d/php.conf.
>
> Now, when we select a .phtml file on a browser,
> the binary code of the CGI program php is displayed,
> instead of php interepreting the .phtml script.
>
> We also tested the following combination
>
> AddType application/x-httpd-php-cgi .phtml
> Action application/x-httpd-php-cgi /cgi-bin/php
>
> and got the same result.
>
> We will appreciate any help.
>
> Toshi
>
> P.S. If the answer is posted to mapserver-users, please send
> me a copy directly. There are too many messages posted
> on that list each day for me to read.
>
>
>
>
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list