<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7650.5">
<TITLE>php problem</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">hello </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Now I gotten some help with compiling a mapserver 4.8.4 and it works but to get it to work I need to add to whole path to the php file like this</FONT></P>
<P><FONT SIZE=2 FACE="Arial">require_once('C:\Inetpub\wwwroot\jar2\maplayers.php');</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">or else I get this error</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"><b>Warning</b>: main(maplayers.php) [<a href='function.main'>function.main</a>]</FONT>
<BR><FONT SIZE=2 FACE="Arial">: failed to open stream: Permission denied in <b>C:\Inetpub\wwwroot\jar2\xmlinit</FONT>
<BR><FONT SIZE=2 FACE="Arial">ial.php</b> on line <b>31</b><br /></FONT>
<BR><FONT SIZE=2 FACE="Arial"><br /></FONT>
<BR><FONT SIZE=2 FACE="Arial"><b>Fatal error</b>: main() [<a href='function.require'>function.require</a>]: F</FONT>
<BR><FONT SIZE=2 FACE="Arial">ailed opening required 'maplayers.php' (include_path='.;c:\php4\pear') in <b>C:\</FONT>
<BR><FONT SIZE=2 FACE="Arial">Inetpub\wwwroot\jar2\xmlinitial.p</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">all my php files works fine on 4.8.1 with require_once('maplayers.php');</FONT>
<BR><FONT SIZE=2 FACE="Arial">here it does not need the whole path.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">any who knows something ?</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Med venlig hilsen</FONT>
<BR><FONT FACE="Arial"> </FONT>
<BR><FONT SIZE=2 FACE="Arial">Jeppe Lund Andersen</FONT>
</P>
</BODY>
</HTML>