[Mapserver-users] configure PHP as a cgi

Jim Burnett r000t at adelphia.net
Mon Feb 3 07:44:08 PST 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0061_01C2CB71.2E63A360
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

try recompiling php as CGI. ./configure --help

  ----- Original Message -----=20
  From: Terrence Lalla=20
  To: mapserver-users at lists.gis.umn.edu=20
  Sent: Monday, February 03, 2003 10:35 AM
  Subject: [Mapserver-users] configure PHP as a cgi


  Hello,

  I am new to Mapserver and trying to make PHPMapscript work with PHP =
4.3.0 However, the following errors keep coming up in the browser. I am =
on Windows XP. Web Server is Apache.

  Fatal error: Due to thread-safety problems, php_mapscript cannot be =
used as a 'cgi-fcgi' module. You will have to reconfigure your PHP as a =
CGI to run this version of MapScript. See =
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScriptCGI. in =
c:\apache\htdocs\trinidad\help.php on line 4

  Any Suggestions.

  Terrence.






-------------------------------------------------------------------------=
-----
  Do you Yahoo!?
  Yahoo! Mail Plus - Powerful. Affordable. Sign up now
------=_NextPart_000_0061_01C2CB71.2E63A360
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1126" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>try recompiling php as CGI. ./configure =

--help</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dt_lalla20 at yahoo.com =
href=3D"mailto:t_lalla20 at yahoo.com">Terrence=20
  Lalla</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
  title=3Dmapserver-users at lists.gis.umn.edu=20
  =
href=3D"mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at lists.g=
is.umn.edu</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, February 03, 2003 =
10:35=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Mapserver-users] =
configure PHP=20
  as a cgi</DIV>
  <DIV><BR></DIV>
  <P>Hello,</P>
  <P>I am new to Mapserver and trying to make PHPMapscript work with PHP =
4.3.0=20
  However, the following errors keep coming up in the browser. I am on =
Windows=20
  XP. Web Server is Apache.</P>
  <P><STRONG>Fatal error</STRONG>: Due to thread-safety problems, =
php_mapscript=20
  cannot be used as a 'cgi-fcgi' module. You will have to reconfigure =
your PHP=20
  as a CGI to run this version of MapScript. See <A=20
  =
href=3D"http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScriptCGI">htt=
p://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScriptCGI</A>.=20
  in <B>c:\apache\htdocs\trinidad\help.php</B> on line <B>4</B></P>
  <P>Any Suggestions.</P>
  <P>Terrence.<BR></P>
  <P><BR>
  <HR SIZE=3D1>
  Do you Yahoo!?<BR><A=20
  =
href=3D"http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Yaho=
o! Mail=20
  Plus</A> - Powerful. Affordable. <A=20
  =
href=3D"http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Sign=
 up=20
  now</A></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0061_01C2CB71.2E63A360--




More information about the MapServer-users mailing list