Using Windows ? Don’t kill Yourself
Using Windows ? Don’t Kill Yourself
Supose you are Linux user and you have a Windows system.
Alternatives: Cygwin, Mingw or Colinux
You need some (or all) of this interpreters:
Modify the %PATH%
Example you have a bin dir, on C:\ to include the executables on the %PATH% do this:
set PATH=%PATH%;C:\bin\
On Windows Vista, you can use your mouse:
computer > properties > Advances system settings > (continue) > Advanced > Enviroment Variables > System Variables > Path (edit)
Example run Kompozer on cmd.exe but no modify %PATH%
: kompozer.bat save on %WINDIR% @"C:\Program Files\Kompozer\kompozer.exe"
Doble click on your scripts to run:
: Perl Scripts assoc .pl=Perl.File ftype Perl.File=C:\strawberry\perl\bin\perl.exe "%1" %* set PATHEXT=%PATHEXT%;.pl : Python Scripts assoc .py=Python.File ftype Python.File=C:\Python26\python.exe "%1" %* set PATHEXT=%PATHEXT%;.py
Note:
On Windows Vista you need run cmd.exe as Administrator don’t work as normal user
Apache, PHP and MySQL ?
Notes:
XAMPP: simple, quick and easy install.
Server2Go: is great to make CD demo of a Web Application.
Using Perl or Python as CGI on Windows ?
Using Python 2.6
#!\python26\python.exeUsing Strawberry Perl:
#!\strawberry\perl\bin\perl.exeNow your script works on http://localhost/cgi-bin/script.cgi



Recent Comments