php problem

Jeppe Lund Andersen JXA at COWI.DK
Sun Dec 3 17:06:29 EST 2006


hello 

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
require_once('C:\Inetpub\wwwroot\jar2\maplayers.php');

or else I get this error

<b>Warning</b>:  main(maplayers.php) [<a href='function.main'>function.main</a>]
: failed to open stream: Permission denied in <b>C:\Inetpub\wwwroot\jar2\xmlinit
ial.php</b> on line <b>31</b><br />
<br />
<b>Fatal error</b>:  main() [<a href='function.require'>function.require</a>]: F
ailed opening required 'maplayers.php' (include_path='.;c:\php4\pear') in <b>C:\
Inetpub\wwwroot\jar2\xmlinitial.p

all my php files works fine on 4.8.1 with require_once('maplayers.php');
here it does not need the whole path.

any who knows something ?

Med venlig hilsen
 
Jeppe Lund Andersen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061203/b694ee75/attachment.html


More information about the mapserver-users mailing list