I installed MS4W from the installer and it worked. Maybe the zip file has some different configuration in php.<br><br>Just one more question. As I'll start using mapscript, do I have to use this list to take doubts out or another list?<br>
<br>Thanks a lot for all your attention.<br><br><div class="gmail_quote">2012/7/30 Jeff McKenna <span dir="ltr"><<a href="mailto:jmckenna@gatewaygeomatics.com" target="_blank">jmckenna@gatewaygeomatics.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 12-07-29 8:50 PM, Henrique Rennó wrote:<br>
> Hello,<br>
><br>
> I tried to find a solution to my problem using google but with no<br>
> success. I'm using WinXP and just installed ms4w from the zip file.<br>
> After executing apache-install.bat, the localhost showed me the<br>
> mapserver webpage as it should. I also loaded a shapefile using<br>
> mapserv.exe after configuring a map file. Now I want to load the<br>
> shapefile using mapscript, but it seems that apache has a problem with<br>
> php as I wrote a simple php file to show phpinfo and it just shows the<br>
> file content, that is, apache didn't use the php-cgi.exe script to<br>
> understand php files. The mime section contains AddType and Action set<br>
> to .php and /cgi-bin/php-cgi.exe. What could be the problem?<br>
><br>
<br>
</div></div>Hello,<br>
<br>
Please note that MS4W questions should be sent to the MS4W-users mailing<br>
list (subscribe at <a href="http://lists.maptools.org/mailman/listinfo/ms4w-users" target="_blank">http://lists.maptools.org/mailman/listinfo/ms4w-users</a>).<br>
<br>
Here are my comments:<br>
<br>
- MS4W is designed so that Apache and PHP work out-of-the-box (no<br>
configuration needed)<br>
- on a fresh machine, install MS4W (sounds like you already know this step)<br>
- once your localhost page shows the MS4W homepage, you know you are ready<br>
- to verify that PHP is running, without making any changes to the<br>
configuration, (assuming you are using MS4W 3.0.6) copy the file<br>
C:/ms4w/tmp/phpinfo.php into C:/ms4w/Apache/htdocs/ and then in your web<br>
browser goto <a href="http://localhost/phpinfo.php" target="_blank">http://localhost/phpinfo.php</a><br>
- the page should show you information about your PHP install<br>
<br>
For any more MS4W questions, feel free to contact the MS4W-users mailing<br>
list, or you can contact me directly for custom builds or to contribute<br>
funding to help this great product grow and live.<br>
<br>
Oh one final note: I did cringe when you mention "XP": that platform is<br>
becoming old now, similar to (when I started this) users stuck on<br>
Windows98 years ago.  Be warned that for best results with MS4W you<br>
should be using a more recent Windows version such as Windows7 or Vista.<br>
<br>
Thank you for using MS4W.<br>
<span class="HOEnZb"><font color="#888888"><br>
-jeff<br>
<br>
<br>
<br>
--<br>
Jeff McKenna<br>
MapServer Consulting and Training Services<br>
<a href="http://www.gatewaygeomatics.com/" target="_blank">http://www.gatewaygeomatics.com/</a><br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Henrique<br><br>