Re: [mapserver-users] mapserver and php

2012-11-04 Thread Worth Lutz
Hi Vince, If you keep the messages on the list it can help others. I don't mind you sending it to me directly if you are replying to a post of mine as I may see it sooner. I generally use the unstable repository as it gets updated faster (thus unstable). I run on the bleeding edge :-).

Re: [mapserver-users] mapserver and php

2012-10-29 Thread Worth Lutz
tober 28, 2012 11:44 AM To: Worth Lutz Subject: RE: [mapserver-users] mapserver and php Thank you for your advice. My resistance to using the ubuntugis ppa stems from my desire to install on my server ONLY mapserver and postgis, and other things that these two require, and nothing else that is

[mapserver-users] mapserver and php

2012-10-28 Thread Vince Miller
Evidently I need to rerun the mapserver build adding --with-GDAL and and --with-proj. There are .png files referenced in my .map file. The goal is to maintain all the data in PostgreSQL and PostGIS. Now that they have raster support I can hopefully dump the .pngs and I then won't need GDAL. Righ

Re: [mapserver-users] mapserver and php

2012-10-28 Thread Stephen Woodbridge
On 10/28/2012 2:47 PM, Vince Miller wrote: Thanks again for helping me make progress on this. The recomile seems to have gone fine, but the php script still crashes without any message on its first encounter with an ms_ function, specifically: $map = ms_newMapObj('/var/www/eunomi0/www/maps/eun

[mapserver-users] mapserver and php

2012-10-28 Thread Vince Miller
Thanks again for helping me make progress on this. The recomile seems to have gone fine, but the php script still crashes without any message on its first encounter with an ms_ function, specifically: $map = ms_newMapObj('/var/www/eunomi0/www/maps/eunomi0.map'); The .map file is there. The new

Re: [mapserver-users] mapserver and php

2012-10-28 Thread Stephen Woodbridge
On 10/28/2012 12:37 PM, Vince Miller wrote: Thank you for your advice. After apparent success of: sudo apt-get install php5-dev The command: ./configure --with postgis --with-geos --with php=/usr/include/php5/main returns the message ... checking for location of php_config.h... configure: e

[mapserver-users] mapserver and php

2012-10-28 Thread Vince Miller
Thank you for your advice. After apparent success of: sudo apt-get install php5-dev The command: ./configure --with postgis --with-geos --with php=/usr/include/php5/main returns the message ... checking for location of php_config.h... configure: error: !!! Could not find php_config.h and php

Re: [mapserver-users] mapserver and php

2012-10-27 Thread Stephen Woodbridge
On 10/27/2012 8:15 PM, Stephen Woodbridge wrote: On 10/27/2012 7:40 PM, Vince Miller wrote: I'm trying to get Mapserver 6.0.3 running with Apache and PHP under Ubuntu 12.04. The Apache/Mapserver connection works, as does the apache PHP connection, but Mapserver won't talk to PHP. I try compiling

Re: [mapserver-users] mapserver and php

2012-10-27 Thread Stephen Woodbridge
On 10/27/2012 7:40 PM, Vince Miller wrote: I'm trying to get Mapserver 6.0.3 running with Apache and PHP under Ubuntu 12.04. The Apache/Mapserver connection works, as does the apache PHP connection, but Mapserver won't talk to PHP. I try compiling Mapserver --with-php=/usr/local/src/mapserver-6.0

[mapserver-users] mapserver and php

2012-10-27 Thread Vince Miller
I'm trying to get Mapserver 6.0.3 running with Apache and PHP under Ubuntu 12.04. The Apache/Mapserver connection works, as does the apache PHP connection, but Mapserver won't talk to PHP. I try compiling Mapserver --with-php=/usr/local/src/mapserver-6.0.3/mapscript/php and it fails to find php

Re: [mapserver-users] MapServer and PHP

2012-07-31 Thread Jeff McKenna
On 12-07-31 10:28 AM, Cristiano Sumariva wrote: > Talking about Mapserver Wiki. > How could submit some documentation notes at > http://mapserver.org/documentation.html ? > Is there a kind of wiki engine? There are stuff outdated at Mapscript. > Or should open a page at some wikipedia and try writ

Re: [mapserver-users] MapServer and PHP

2012-07-31 Thread Jeff McKenna
On 12-07-30 10:54 PM, Henrique Rennó wrote: > I installed MS4W from the installer and it worked. Maybe the zip file > has some different configuration in php. > > Just one more question. As I'll start using mapscript, do I have to use > this list to take doubts out or another list? > > Thanks a l

Re: [mapserver-users] MapServer and PHP

2012-07-30 Thread Lester Caine
Henrique Rennó wrote: I installed MS4W from the installer and it worked. Maybe the zip file has some different configuration in php. I'm fairly sure that the installer has added what ever was missing although I'm sure Jeff would have commented if there WAS a difference. I do have a new windows

Re: [mapserver-users] MapServer and PHP

2012-07-30 Thread Henrique Rennó
I installed MS4W from the installer and it worked. Maybe the zip file has some different configuration in php. Just one more question. As I'll start using mapscript, do I have to use this list to take doubts out or another list? Thanks a lot for all your attention. 2012/7/30 Jeff McKenna > On

Re: [mapserver-users] MapServer and PHP

2012-07-30 Thread Lester Caine
Daniel Morissette wrote: Thanks for your feedback. In fact at last year's WMS Benchmarking exercise with several software teams, we found that MapServer on Windows did very well vs Linux, and other mapping engines for that matter (don't just take my word for it, see the numbers at http://svn.osg

Re: [mapserver-users] MapServer and PHP

2012-07-30 Thread Jeff McKenna
On 12-07-30 12:49 PM, Daniel Morissette wrote: > On 12-07-30 11:37 AM, Jeff McKenna wrote: >> >> Thanks for your feedback. In fact at last year's WMS Benchmarking >> exercise with several software teams, we found that MapServer on Windows >> did very well vs Linux, and other mapping engines for th

Re: [mapserver-users] MapServer and PHP

2012-07-30 Thread Daniel Morissette
On 12-07-30 11:37 AM, Jeff McKenna wrote: Thanks for your feedback. In fact at last year's WMS Benchmarking exercise with several software teams, we found that MapServer on Windows did very well vs Linux, and other mapping engines for that matter (don't just take my word for it, see the numbers

Re: [mapserver-users] MapServer and PHP

2012-07-30 Thread Jeff McKenna
On 12-07-30 11:02 AM, Lester Caine wrote: > Jeff McKenna wrote: >> Oh one final note: I did cringe when you mention "XP": that platform is >> becoming old now, similar to (when I started this) users stuck on >> Windows98 years ago. Be warned that for best results with MS4W you >> should be using a

Re: [mapserver-users] MapServer and PHP

2012-07-30 Thread Henrique Rennó
Thanks for your advices. I'll try them later. 2012/7/30 Jeff McKenna > On 12-07-29 8:50 PM, Henrique Rennó wrote: > > Hello, > > > > I tried to find a solution to my problem using google but with no > > success. I'm using WinXP and just installed ms4w from the zip file. > > After executing apach

Re: [mapserver-users] MapServer and PHP

2012-07-30 Thread Henrique Rennó
Yes, but it seemed to not set the variables, so I set them manually under Control Panel. 2012/7/30 Lester Caine > Lester Caine wrote: > >> 6.0.3? It might be worth trying the installer instead. PHP is an option >> as far >> as I can see, so would need to be enabled while installing. I'm just >>

Re: [mapserver-users] MapServer and PHP

2012-07-30 Thread Lester Caine
Jeff McKenna wrote: Oh one final note: I did cringe when you mention "XP": that platform is becoming old now, similar to (when I started this) users stuck on Windows98 years ago. Be warned that for best results with MS4W you should be using a more recent Windows version such as Windows7 or Vista

Re: [mapserver-users] MapServer and PHP

2012-07-30 Thread Lester Caine
Lester Caine wrote: Lester Caine wrote: 6.0.3? It might be worth trying the installer instead. PHP is an option as far as I can see, so would need to be enabled while installing. I'm just grabbing a copy of the zip so I can check it out anyway. Henrique did you run setenv.bat ... I can't see i

Re: [mapserver-users] MapServer and PHP

2012-07-30 Thread Jeff McKenna
On 12-07-29 8:50 PM, Henrique Rennó wrote: > Hello, > > I tried to find a solution to my problem using google but with no > success. I'm using WinXP and just installed ms4w from the zip file. > After executing apache-install.bat, the localhost showed me the > mapserver webpage as it should. I also

Re: [mapserver-users] MapServer and PHP

2012-07-30 Thread Lester Caine
Lester Caine wrote: 6.0.3? It might be worth trying the installer instead. PHP is an option as far as I can see, so would need to be enabled while installing. I'm just grabbing a copy of the zip so I can check it out anyway. Henrique did you run setenv.bat ... I can't see it being refered to in

Re: [mapserver-users] MapServer and PHP

2012-07-30 Thread Henrique Rennó
I'll try setting everything up with the installer later. Maybe the problem with the zip file is that it needs some configuration by hand. 2012/7/30 Lester Caine > Henrique Rennó wrote: > >> The mime section contains AddType and Action set to .php >> and /cgi-bin/php-cgi.exe. What

Re: [mapserver-users] MapServer and PHP

2012-07-30 Thread Lester Caine
Henrique Rennó wrote: The mime section contains AddType and Action set to .php and /cgi-bin/php-cgi.exe. What could be the problem? What is ScriptAlias set to? Using php as CGI usually means that it's pointing to the PHP directory, which is where php-cgi.exe is locat

Re: [mapserver-users] MapServer and PHP

2012-07-30 Thread Henrique Rennó
2012/7/30 Lester Caine > Henrique Rennó wrote: > >> I tried to find a solution to my problem using google but with no >> success. I'm >> using WinXP and just installed ms4w from the zip file. After executing >> apache-install.bat, the localhost showed me the mapserver webpage as it >> should. >>

Re: [mapserver-users] MapServer and PHP

2012-07-30 Thread Lester Caine
Henrique Rennó wrote: I tried to find a solution to my problem using google but with no success. I'm using WinXP and just installed ms4w from the zip file. After executing apache-install.bat, the localhost showed me the mapserver webpage as it should. I also loaded a shapefile using mapserv.exe a

[mapserver-users] MapServer and PHP

2012-07-29 Thread Henrique Rennó
Hello, I tried to find a solution to my problem using google but with no success. I'm using WinXP and just installed ms4w from the zip file. After executing apache-install.bat, the localhost showed me the mapserver webpage as it should. I also loaded a shapefile using mapserv.exe after configuring