Thanks for your advices. I'll try them later. 2012/7/30 Jeff McKenna <[email protected]>
> 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 loaded a shapefile using > > mapserv.exe after configuring a map file. Now I want to load the > > shapefile using mapscript, but it seems that apache has a problem with > > php as I wrote a simple php file to show phpinfo and it just shows the > > file content, that is, apache didn't use the php-cgi.exe script to > > understand php files. The mime section contains AddType and Action set > > to .php and /cgi-bin/php-cgi.exe. What could be the problem? > > > > Hello, > > Please note that MS4W questions should be sent to the MS4W-users mailing > list (subscribe at http://lists.maptools.org/mailman/listinfo/ms4w-users). > > Here are my comments: > > - MS4W is designed so that Apache and PHP work out-of-the-box (no > configuration needed) > - on a fresh machine, install MS4W (sounds like you already know this step) > - once your localhost page shows the MS4W homepage, you know you are ready > - to verify that PHP is running, without making any changes to the > configuration, (assuming you are using MS4W 3.0.6) copy the file > C:/ms4w/tmp/phpinfo.php into C:/ms4w/Apache/htdocs/ and then in your web > browser goto http://localhost/phpinfo.php > - the page should show you information about your PHP install > > For any more MS4W questions, feel free to contact the MS4W-users mailing > list, or you can contact me directly for custom builds or to contribute > funding to help this great product grow and live. > > 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. > > Thank you for using MS4W. > > -jeff > > > > -- > Jeff McKenna > MapServer Consulting and Training Services > http://www.gatewaygeomatics.com/ > > > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- Henrique
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
