Loading php mapscript fails
Gregor Mosheh
gregor at HOSTGIS.COM
Sun May 27 08:03:42 PDT 2007
> Warning: Unknown: failed to open stream: Permission denied in Unknown on
> line 0
> Fatal error: Unknown: Failed opening required '/path/index.php'
> (include_path='.:/usr/local/lib/php') in Unknown on line 0
That seems to indicate that it's rrying to load the file /path/index.php
and isn't able to. Are you sure that the permissions are right on that
file? PHP files should be 644 (or 600 and owned by the webserver user),
and do not need to be 755 or executable.
> There are read and exec rights for all in php extensions directory.
> What could cause this?
Again, extensions and modules don't need execution, just readability.
Still, the error you give above indicates that it's not the mapscript
module that's failing to open, it's the index.php
--
Gregor Mosheh / Greg Allensworth
System Administrator, HostGIS cartographic development & hosting services
http://www.HostGIS.com/
"Remember that no one cares if you can back up,
only if you can restore." - AMANDA
More information about the MapServer-users
mailing list