[mapserver-users] installation mapscript with apache on win3 2 platform

Wenneck, Thomas De Lange thomas.de.lange.wenneck@imr.no
Thu, 28 Nov 2002 10:20:01 +0100


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C296BF.53F48950
Content-Type: text/plain;
	charset="iso-8859-1"

I think you are trying to configure PHP as a SAPI module, instead of a CGI
module. Drop the LoadModule and Addmodule and try:
 
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
 
Thomas

-----Original Message-----
From: fx gamoy [mailto:fx.gamoy@mapxplore.com]
Sent: 27. november 2002 13:06
To: mapserver-users@lists.gis.umn.edu
Subject: [mapserver-users] installation mapscript with apache on win32
platform


i try to configure mapscript as a CGI with apache on a winNT plateform
i have made some changes in the httpd.conf file
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php .phtml
Action application/x-httpd-php "c:/php/php.exe"
 
and IE return : 
Fatal error: dl() is not supported in multithreaded Web servers - use
extension statements in your php.ini in
D:\downloads\mapserver\maplab\maplab-2.0rc2\gmf_apps\eurosig\wrapper\utiliti
es.php on line 51

Thanks for your help
fx gamoy
http://www.mapxlore.com/


------_=_NextPart_001_01C296BF.53F48950
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>
<DIV><SPAN class=253302109-28112002><FONT face=Arial color=#0000ff size=2>I 
think you are trying to configure PHP as a SAPI module, instead of a CGI module. 
Drop the LoadModule and Addmodule and try:</FONT></SPAN></DIV>
<DIV><SPAN class=253302109-28112002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=253302109-28112002><FONT face=Arial color=#0000ff 
size=2>ScriptAlias /php/ "c:/php/"<BR>AddType application/x-httpd-php 
.php<BR>Action application/x-httpd-php "/php/php.exe"</FONT></SPAN></DIV>
<DIV><SPAN class=253302109-28112002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=253302109-28112002><FONT face=Arial color=#0000ff 
size=2>Thomas</FONT></SPAN></DIV></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> fx gamoy 
  [mailto:fx.gamoy@mapxplore.com]<BR><B>Sent:</B> 27. november 2002 
  13:06<BR><B>To:</B> mapserver-users@lists.gis.umn.edu<BR><B>Subject:</B> 
  [mapserver-users] installation mapscript with apache on win32 
  platform<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>i try to configure mapscript as a CGI with apache 
  on a winNT plateform</FONT></DIV>
  <DIV><FONT face=Arial size=2>i have made some changes in the httpd.conf 
  file</FONT></DIV>
  <DIV><FONT face=Arial size=2>LoadModule php4_module 
  c:/php/sapi/php4apache.dll<BR>AddModule mod_php4.c<BR>AddType 
  application/x-httpd-php .php .phtml<BR>Action application/x-httpd-php 
  "c:/php/php.exe"</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>and IE return : </FONT></DIV>
  <DIV><FONT face=Arial size=2>Fatal error: dl() is not supported in 
  multithreaded Web servers - use extension statements in your php.ini in 
  D:\downloads\mapserver\maplab\maplab-2.0rc2\gmf_apps\eurosig\wrapper\utilities.php 
  on line 51<BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>Thanks for your help</FONT></DIV>
  <DIV><FONT face=Arial size=2>fx gamoy</FONT></DIV>
  <DIV><FONT face=Arial 
size=2>http://www.mapxlore.com/</DIV></BLOCKQUOTE></FONT></BODY></HTML>

------_=_NextPart_001_01C296BF.53F48950--