[ka-Map-users] Centos - PHP5 - Apache2 - PHP/Mapscript - ka-map????

Stephen Woodbridge woodbri at swoodbridge.com
Mon Jul 17 23:41:47 EDT 2006


Hi Daniel and Base,

Thank you for your responses. This is good to know. I wrote a following

<?php
echo "<pre>\n";
$map = ms_newMapObj("/u/data/tiger-maps/tiger2.map");
echo "Created mapObj\n";
$img = $map->draw();
echo "Draw completed\n";
$url = $img->saveWebImage();
echo "Save the image to $url\n</pre>\n";
echo "<img src=\"$url\">\n";
?>

which we will try in the morning and see how that fairs. I'm pretty sure 
it is a mapscript issue at this point, now we just have to find a clue 
about what the issue is.

This all works fine on my apachw1 and php4 system :)

-Steve

Base Bloc wrote:
> Hi Steve,
> 
>  
> 
> I am successfully using Apache 2, PHP5 and Mapscript on a Fedora Core 4 
> installation so it sounds like maybe a Centos issue. I know that 
> phpinfo() shows mapscript as installed but have you tested it by trying 
> to generate a map image without using ka-map?
> 
>  
> 
> When I built Mapserver with PHP5 and Apache 2, I had a similar problem 
> and found that mapscript was the issue. This was a while back so my 
> memory is vague but I think I built PHP5 with php_gd, then created an 
> extentions folder in /somewhere/php/ to place the mapscript.so then 
> added this line to the php.ini: extenion_dir = 
> /some_folder/apache2/php/extensions , maybe worth a try if this isn’t 
> the route you’ve taken already.
> 
>  
> 
> Cheers,
> 
>  
> 
> Chris
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users



More information about the ka-Map-users mailing list