[Mapserver-users] Mapscript, Debian & Server Error

Humberto Cereser Ibanez humberto at pastoraldacrianca.org.br
Fri Feb 20 05:04:25 PST 2004


Vincenzo Patruno wrote:

>Hi Humberto and thanks a lot for your answer, even if
>your suggestion doesn't work on my system.
>
>I compiled and installed suphp and I also modified my Php_4.3.4 configure as
>follow:
>
>./configure  --with-msql=/usr/local/Hughes --with-regex=system  --enable-for
>ce-cgi-redirect --with-gd --with-zlib
> --with-ttf --with-jpeg-dir --with-png-dir --with-pgsql --enable-dbase --ena
>ble-session --without-mysql --with-pr
>oj --with-ncurses --with-iconv --enable-cli --enable-cgi --enable-fastcgi --
>enable-gd-native-ttf --enable-static
>--disable-all
>
>
>But Nothing...
>The problem is always the same as you can check clicking on the links below
>  
>
>http://www.geodemo.istat.it/maplab/htdocs/index.phtml
>
>Here is also my Mapserver3.6.7 configure
>  
>
>./configure --with-php=/usr/local/php-4.3.4 --with-gd --enable-runpath --wit
>h-freetype=/usr/local/include/freetyp
>e --with-jpeg --with-png --with-postgis=yes --with-proj
>

Hi Vincenzo.

My second suggestion is: review your httpd.conf and php.ini

Here is a snippets of my  httpd.conf  (Apache 1.3.26)

LoadModule action_module /usr/lib/apache/1.3/mod_actions.so
LoadModule alias_module /usr/lib/apache/1.3/mod_alias.so
LoadModule suphp_module /usr/lib/apache/1.3/mod_suphp.so
LoadModule env_module /usr/lib/apache/1.3/mod_env.so
#LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

Alias /gmap/ "/var/www/sig/gmap-ms40/htdocs/"
Alias /ms_tmp/ "/tmp/ms_tmp/"

ScriptAlias /cgi-bin/ /usr/local/lib/cgi-bin/
the php-cgi bin is in /usr/local/lib/cgi-bin/

Action phtml-script /cgi-bin/php
Action application/x-httpd-php-cgi /cgi-bin/php

AddHandler phtml-script .phtml

AddType application/x-httpd-php-cgi .phtml

suPHP_Engine on

Here is a snippets of my php.ini

error_reporting = E_ALL & ~E_NOTICE

include_path = ".:/php/includes:/usr/local/lib"

extension_dir = "/usr/local/lib"

Good luck

Humberto Cereser Ibanez
Pastoral da Criança
Curitiba - PR - Brasil




More information about the MapServer-users mailing list