XAMPP Tips for Windows
XAMPPã®ã¡ãã£ã¨å°ã£ãã¨ãã«å½¹ç«ã¤Tipsã
- ç®æ¬¡
- 好ããªãã¼ã¸ã§ã³ã®XAMPPããã¦ã³ãã¼ããã
- XAMPPãã¢ããã°ã¬ã¼ããã
- XAMPPã«å«ã¾ããPHPãã¢ããã°ã¬ã¼ããã
- XAMPPã«å«ã¾ããTomcatãåãã (v1.7.7以å)
- XAMPPã®ã¢ããªã³
- XAMPPãæã¡éã¶
- setup_xampp.batã®å½¹å²ãç¥ã
- ã¤ã³ã¹ãã¼ã©çã®åä½ãç¥ã
- ãµã¼ãã¹ã®ç»é²ã解é¤ãã
- Skypeã®ãã¼ããå¤æ´ãã
- 2012/02/25: Perlé¨å追è¨.
- 2012/02/15: æç« è¦ç´ã.
- 2012/02/14: é ç®è¿½å .
- 2012/02/12: å ¬é.
好ããªãã¼ã¸ã§ã³ã®XAMPPããã¦ã³ãã¼ããã
XAMPPã«ã¯XAMPP Basicããã±ã¼ã¸ã¨XAMPP Liteããã±ã¼ã¸ãåå¨ãã¾ããç¾å¨ã®åºæ¬ããã±ã¼ã¸ã«ã¯Perlã¨Tomcatãæåããå«ã¾ãã¦ãã¾ããæ£ç¢ºã«ã¯ãPerlã¯v1.7.2以éãTomcatã¯v1.7.4以éãåºæ¬ããã±ã¼ã¸ã«å«ã¾ããããã«ãªãã¾ãããããããåã¯ã¢ããªã³ãç¨ãã¦å¥éã¤ã³ã¹ãã¼ã«ããå¿
è¦ãããã¾ããã
XAMPP - Browse Files at SourceForge.net
[URL] http://sourceforge.net/projects/xampp/files/
ä¸è¨Webãµã¤ããã好ããªãã¼ã¸ã§ã³ã®XAMPPãå
¥æãããã¨ãã§ãã¾ãããã¦ã³ãã¼ãå¯è½ãªXAMPP for Windows v1.7.7ã®ãã¡ã¤ã«ä¸è¦§ã¯æ¬¡ã®ã¨ããã§ãã
- xampp-win32-1.7.7-VC9-installer
- #FF0000;">.exe:åºæ¬ããã±ã¼ã¸ã®ã¤ã³ã¹ãã¼ã©çã§ããã¬ã¸ã¹ããªã使ç¨ãã¾ãã
ãã¡ã¤ã«ã®å±éãã"install.php"ã®å®è¡ã¾ã§ãèªåã§è¡ãã¾ãã - xampp-win32-1.7.7-VC9-installer
- #0000FF;">.exe.md5:MD5: 4500884a3bd21343fc69fcef2f4577be
- xampp-win32-1.7.7-VC9
- #FF0000;">.zip:åºæ¬ããã±ã¼ã¸ã®ZIPå½¢å¼çã§ãã
- xampp-win32-1.7.7-VC9
- #0000FF;">.zip.md5:MD5: 19c858c350f79a19f049d85128367f0c
- xampp-win32-1.7.7-VC9
- #FF0000;">.7z:åºæ¬ããã±ã¼ã¸ã®7zå½¢å¼çã§ããZIPå½¢å¼ããããã¡ã¤ã«ãµã¤ãºãå°ããã§ãã
- xampp-win32-1.7.7-VC9
- #0000FF;">.7z.md5:MD5: f8c3ce82a34a408115de552c4686a098
- xampp-win32-1.7.7-usb-lite
- #FF0000;">.exe:ã©ã¤ãããã±ã¼ã¸ã®ã¤ã³ã¹ãã¼ã©çã§ããã¬ã¸ã¹ããªã¯ä½¿ç¨ãã¾ããã
ãã¡ã¤ã«ã®å±éãã"install.php"ã®å®è¡ã¾ã§ãèªåã§è¡ãã¾ãã - xampp-win32-1.7.7-usb-lite
- #0000FF;">.exe.md5:MD5: 7dc46ca4432c1f75f04975630515c136
- xampp-win32-1.7.7-usb-lite
- #FF0000;">.zip:ã©ã¤ãããã±ã¼ã¸ã®ZIPå½¢å¼çã§ãã
- xampp-win32-1.7.7-usb-lite
- #0000FF;">.zip.md5:MD5: 8751aa606d7a2951bff5064657b9fb94
- xampp-win32-1.7.7-usb-lite
- #FF0000;">.7z:ã©ã¤ãããã±ã¼ã¸ã®7zå½¢å¼çã§ããZIPå½¢å¼ããããã¡ã¤ã«ãµã¤ãºãå°ããã§ãã
- xampp-win32-1.7.7-usb-lite
- #0000FF;">.7z.md5:MD5: 4d506c707fac3422b3cf05ce511f91b3
MD5(Message Digest Algorithm 5)ãã¡ã¤ã«ã«ã¯ããã·ã¥å¤ãæ¸ããã¦ãã¾ããMD5å¤ã¯ãã¡ã¤ã«ãæ£ããè½ã¨ãããã©ããã®ç¢ºèªã«ä½¿ãã¾ããMD5ã®è¨ç®ã«ã¯FastHashã使ãã¨ããããã§ãã
XAMPPãã¢ããã°ã¬ã¼ããã
æ°ããXAMPPããªãªã¼ã¹ããã¦ããã®ãè¦ã¤ããã¨ã¤ããã¼ã¸ã§ã³ããããããªãã¾ããã¤ã³ã¹ãã¼ã©çã§ã¤ã³ã¹ãã¼ã«ãè¡ã£ãå ´åã¯ãæ°ãããã¼ã¸ã§ã³ã®ã¤ã³ã¹ãã¼ã©çããã®ã¾ã¾å®è¡ãã¦ãããã°èªåçã«æ°ãããã¡ã¤ã«ã«æ´æ°ãã¦ããã¾ãããã ããããã¯ã¤ã³ã¹ãã¼ã©ã®ä»æ§ã«å¤æ´ã®ãã£ãv1.7.4以éã®è©±ã§ãããã¨ã«æ³¨æãã¦ãã ãããããããåã®ãã¼ã¸ã§ã³ã§ã¯èªåã§ã¯æ´æ°ãã¦ããã¾ããã
zipæ´¾ã®äººã¯ç¹å®ã®ãã£ã¬ã¯ããªã®ä¸æ¸ããé¿ãã¦ãã¡ã¤ã«ã®æ´æ°ãããã°ã¢ããã°ã¬ã¼ãã§ãã¾ããããæ¹ã¨ãã¦ã¯ãæ°ãããã¼ã¸ã§ã³ã®XAMPPãå±éãã¦ãå¤ãæ¹ã®ç¹å®ã®ãã£ã¬ã¯ããªãã¾ããã¨æ°ããã»ãã«ã³ãã¼ãã¦ç§»è¡ããã¨ãå¤ãã®ãæ®ã£ã¦ãã¦å®å¿ã§ããããããããæãã¨æãã¾ããç¹å®ã®ãã£ã¬ã¯ããªã以ä¸ã«ç¤ºãã¾ãããã®2ã¤ãã³ãã¼ããã°å¿
è¦æå°éã«æãããã¾ãã
- \xampp\mysql\data\
- MySQLã®ãã¼ã¿ãå ¥ã£ã¦ãã¾ãã
- \xampp\htdocs\
- Apacheã®å ¬éãã¡ã¤ã«ãå ¥ã£ã¦ãã¾ãã
以ä¸ãåèã«åèªã§å¿ è¦ãªãã£ã¬ã¯ããªããã¡ã¤ã«ã®ããã¯ã¢ãããåã復å ã®ããã«æ®ãã¦ãããã¨ãã§ãã¾ãã
- \xampp\mysql\bin\my.ini
- MySQLã®è¨å®ãã¡ã¤ã«ã§ãã
- \xampp\apache\conf\
- Apacheã®è¨å®ãã¡ã¤ã«ãå ¥ã£ã¦ãã¾ãã
- \xampp\tomcat\webapps\
- Tomcatã®å ¬éãã¡ã¤ã«ãå ¥ã£ã¦ãã¾ãã
- \xampp\tomcat\conf\
- Tomcatã®è¨å®ãã¡ã¤ã«ãå ¥ã£ã¦ãã¾ãã
- \xampp\FileZillaFTP\FileZilla Server Interface.xml
- FileZilla Serverã®æ¥ç¶ã«ç¨ããè¨å®ãã¡ã¤ã«ã§ãã
- \xampp\FileZillaFTP\FileZilla Server.xml
- FileZilla Serverã®å ¬éè¨å®ãã¡ã¤ã«ã§ãã
- \xampp\MercuryMail\MERCURY.INI
- MercuryMailã®è¨å®ãã¡ã¤ã«ã§ãã
ãã°ãã¡ã¤ã«ã欲ããå ´åã¯æ¬¡ã®ãã£ã¬ã¯ããªã®ããã¯ã¢ãããåãã¾ãã
XAMPPã«å«ã¾ããPHPãã¢ããã°ã¬ã¼ããã
XAMPPã使ã£ã¦ããã¨ãPHPã®ãã¼ã¸ã§ã³ãå¤ãã¦å°ããã¨ãããã¾ããããã§ãXAMPPã«å«ã¾ããPHPãææ°çã«ã¢ããã°ã¬ã¼ããã¦ã¿ã¾ããããã¾ãã¯æ¬¡ã®ãµã¤ãã«ã¢ã¯ã»ã¹ãã¦ãPHPã®Windowsç¨ã®ãã¤ããªãã¡ã¤ã«ããã¦ã³ãã¼ããã¾ãã
http://www.php.net/
[URL] http://www.php.net/
ãã¦ã³ãã¼ããããã¡ã¤ã«ã¯ãVC9 x86 Non Thread Safeã§ã¯ãªããVC9 x86 Thread Safeã®ZIPå½¢å¼ã§ããWindowsãã¤ããªãã¡ã¤ã«ããã¦ã³ãã¼ãã§ããå ´æã¯è¿·ããããã®ã§æ³¨æãã¦ãã ããã
ãã¦ã³ãã¼ããããã¡ã¤ã«ãå±éãã¦ãããããã®ã¾ã¾XAMPPã®PHPãã£ã¬ã¯ããª(\xampp\php\)ã«ä¸æ¸ããã¦ãããã°PHPã®ã¢ããã°ã¬ã¼ãã¯å®äºã§ãããªãããã¡ã¤ã«ãä¸æ¸ãããåã«Apacheã¯åæ¢ããã¦ããã¾ããããããããªãã¨ä¸æ¸ããããã¨ãã¦ãããã¡ã¤ã«ä½¿ç¨ä¸ã ãã£ã¦æããã¦ã§ãã¾ããããã®å ´åã¯ãããããè½ã¡çãã¦Apacheãåæ¢ããã¦ãããã¡ã¤ã«ã®ä¸æ¸ããåéãã¾ãããã
PHP5.2.xããPHP5.3.xãPHP5.3.xããPHP5.4.xã¸ã®ã¢ããã°ã¬ã¼ãã¨ãã£ãå ´åã«ã¯(\xampp\php\ã«ãã)php.iniãã¡ã¤ã«ã®å¤æ´ãå¿
è¦ã§ããèªåã§å¤æ´ããã®ãããã©ãããå ´åã¯ãããç³»åã®PHPãå«ã¾ããXAMPPããphp.iniãæãåã£ã¦ä¸æ¸ãããã®ã楽ã§ãã
XAMPPã«å«ã¾ããTomcatãåãã
XAMPPãã¤ã³ã¹ãã¼ã«ããã®ã«Tomcatãç«ã¡ä¸ãããªã...ãªãã¦ãã¨ã¯ããã¾ãããï¼ããã¯XAMPPã«ä»å±ããTomcatã®èµ·åã«ç¨ããããããããã¡ã¤ã«ãå®è¡ãã¦ããJDK(Java Development Kit)ã¸ã®ãã¹ãè¦ã¤ããããªãã£ãããã«ãTomcatã®èµ·åã«å¤±æãã¦ããããã§ãã
[XAMPP]: Searching JDK HOME with reg query ... ã¨ã©ã¼: æå®ãããã¬ã¸ã¹ã㪠ãã¼ã¾ãã¯å¤ãè¦ã¤ããã¾ããã§ãã . [XAMPP]: Cannot find current JDK installation! . [XAMPP]: Cannot set JAVA_HOME. Aborting ... done.
Tomcatèªä½ã¯JRE(Java Runtime Environment)ã§ãåä½ãã¾ããæ®éã¯JDKãã¤ã³ã¹ãã¼ã«ãã¦ããªããã¨ãã»ã¨ãã©ã®ã¯ããªã®ã§ãããã§ã¯JDKãæ°ãã«ã¤ã³ã¹ãã¼ã«ããã®ã§ã¯ãªããXAMPPä»å±ã®ããããã¡ã¤ã«ãç·¨éãã¦JDKããJREã¸ã®ãã¹ã«å¤æ´ãã¡ããæ¹æ³ãç´¹ä»ãã¾ãããªããXAMPP v1.8.0以éã¯JDKãè¦ã¤ãããªãå ´åã¯JREãåç §ããå¦çãå ãããããããããããç·¨éããå¿ è¦ã¯ããã¾ããã
XAMPPãã¤ã³ã¹ãã¼ã«ããå ´æ(ããã©ã«ããªãC:\xampp\)ã«ããcatalina_start.batãcatalina_stop.batã®2ã¤ãXAMPPå´ã§ç¨æãããTomcatãèµ·åã»åæ¢ãããããããã¡ã¤ã«ã«ãªãã¾ãããã®ãã¡ã¤ã«ãã¡ã¢å¸³ãªã©ã§éãã次ã®å 容ã«æ¸ãæãã¦ãã ããã
catalina_start.batãcatalina_stop.bat
set KeyName=HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit âãâã«æ¸ãæãã set KeyName=HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment
ããã§XAMPPã®ã³ã³ããã¼ã«ããã«ãããTomcatã®èµ·åã¨åæ¢ãã§ããããã«ãªãã¾ããããããå®ã¯XAMPPã®ã³ã³ããã¼ã«ããã«ã¯åããã£ã¬ã¯ããªã«ããããããã¡ã¤ã«ãå®è¡ãã¦ããã ããªã®ã§ããå¤æ´ç®æã¯åç´ã§JDKå´ã®ã¬ã¸ã¹ããªããJavaHomeãã¼ãæ¢ããã¨ãã¦ããé¨åããJREå´ã®ã¬ã¸ã¹ããªããJavaHomeãã¼ãæ¢ãããã«å¤æ´ããã ãã§ããããã ãã®å¤æ´ã§ãJREãã¤ã³ã¹ãã¼ã«ãã¦ããããã°ãTomcatãåä½ããããã«ãªãã¾ããã¾ããXAMPP v1.7.7ã§ã¯Tomcat 7.0ã¨Apacheã¨ã®é£æºãmod_proxy.soãmod_proxy_ajp.soã¢ã¸ã¥ã¼ã«ã«ããè¡ããã¦ãããApacheãèµ·åããã°æ¬¡ã®URLãããTomcatã«ã¢ã¯ã»ã¹ãããã¨ãã§ãã¾ãã
http://localhost/examples
ã¡ãªã¿ã«ãã¬ã¸ã¹ããªãããã¼ãæ¢ç´¢ãããã®ããããªå ´åã¯JavaHomeãã¼ãæ¢ããã¨ãã¦ããé¨åããã£ããã¨åé¤ãã¦ãJRE_HOMEã¨CATALINA_HOMEã®2ã¤ã®å¤æ°ã追å ããæ¹æ³ã§ãåé¡ãªãåä½ãã¾ãããã¨ãã°catalina_start.batã®å ´åã¯æ¬¡ã®ããã«ãªãã¾ãã
@echo off IF EXIST tomcat\logs\catalina.pid ( del /F/Q tomcat\logs\catalina.pid ) set "JRE_HOME=C:\Program Files\Java\jre6" set "CATALINA_HOME=\xampp\tomcat" if %ERRORLEVEL% == 0 ( echo run > tomcat\logs\catalina.pid ) "%CATALINA_HOME%\bin\catalina.bat" run :END echo done. pause
XAMPPã¸ã®ãã¹ã¯ã«ã¼ããã£ã¬ã¯ããªç´ä¸ã«ã¤ã³ã¹ãã¼ã«ãããã®ãJREã¸ã®ãã¹ã¯ã¤ã³ã¹ãã¼ã«ãã¹ã«å¤æ´ã®ãã£ãJava 6 Update 10以éãæ¨æºã§ã¤ã³ã¹ãã¼ã«ãããã®ãæ³å®ãã¦ãã¾ãã
XAMPPã®ã¢ããªã³
Windowsç¨ã®XAMPPã¢ããªã³ã¯æ¬¡ã®URLããå ¥æãããã¨ãã§ãã¾ãã
XAMPP - Browse /Windows add-ons at SourceForge.net
[URL] http://sourceforge.net/projects/xampp/files/Windows%20add-ons/
Perlã¯v1.7.2以éãTomcatã¯v1.7.4以éãåºæ¬ããã±ã¼ã¸ã«å«ã¾ããããã«ãªãããããã®ã¢ããªã³ã¯ä¸è¦ã«ãªãã¾ãããã§ããªãã¨ãªãXAMPP USB Liteã«ã¢ããªã³ã®æ©è½ã追å ãããæ¥ãããã¨æãã¾ãããããªæããããªãã¡ããã¾ãããã
ã©ãã§ããããã¨ã§ãããXAMPP USB Lite v1.7.5ã§ã¯ãWebalizerã使ç¨ã§ãã¾ããXAMPP USB Lite v1.7.7ã«ã¯å«ã¾ãã¦ãã¾ãããã¢ã¯ã»ã¹ããã«ã¯æ¬¡ã®URLããããã¾ãã
http://localhost/webalizer/webalizer.php
XAMPP USB Liteã§Perlãåãã
Windowsç¨ã®XAMPP Perlã¢ããªã³ã¯æ¬¡ã®URLããå ¥æãããã¨ãã§ãã¾ãã
XAMPP - Browse /Windows add-ons/Perl at SourceForge.net
[URL] http://sourceforge.net/projects/xampp/files/Windows%20add-ons/Perl/
Perlã¢ããªã³ã®ç¾å¨ã®ææ°ãã¼ã¸ã§ã³ã¯æ¬¡ã®ã¨ããã§ãã
- xampp-win32-perl-addon-5.10.0-2.2.11-pl2-installer.exe
- åºæ¬ããã±ã¼ã¸ã®ã¤ã³ã¹ãã¼ã©çåããã¬ã¸ã¹ããªã®ç¢ºèªããã³æ¸ãè¾¼ã¿ãè¡ãã
- xampp-win32-perl-addon-5.10.0-2.2.11-pl2.exe
- èªå·±å±éå½¢å¼ã
- xampp-win32-perl-addon-5.10.0-2.2.11-pl2.zip
- ZIPå½¢å¼ã
XAMPPã®v1.7.2以éã§ã¯ãApacheãèµ·åããã°Perlãåä½ããããã«è¨å®ããã¦ãã¾ããããããCGI(Common Gateway Interface)ã¨ãmod_perlã¢ã¸ã¥ã¼ã«ãæå¹ã«ããã¦ããåºæ¬ããã±ã¼ã¸çã¨éããã©ã¤ãããã±ã¼ã¸çã§ã¯CGIã®ã¿ã®ãããPerlã®å®è¡ãã¹ãå¤æ´ããªãã¨æ£ããåä½ãã¾ãããããã±ã¼ã¸çã§ã¯æ¡å¼µåã*.cgiã®ãã¡ã¤ã«ã¯CGIã§Perlããæ¡å¼µåã*.plã®å ´åã¯mod_perlã¢ã¸ã¥ã¼ã«ã使ç¨ããã¾ãã
#!/usr/bin/perl âãâã«æ¸ãæãã #!"/xampp/perl/bin/perl.exe"
ã©ã¤ãããã±ã¼ã¸çã§ãPerlã®å®è¡ãã¹ãå¤æ´ããªãã§å®è¡ã§ããããã«ããã«ã¯ãã·ã³ããªãã¯ãªã³ã¯(symbolic link)ãä½æããæ¹æ³ãmod_perlã¢ã¸ã¥ã¼ã«ãæå¹ã«ããæ¹æ³ãããã¾ããã·ã³ããªãã¯ãªã³ã¯ãä½ã£ã¦ãåé¤ããã¨ãã«å¿ãã¦ããå¯è½æ§ããããã¨ã¨ãããããCGIããã ã¨åä½ãé ãã¦ããããããã®ã§ãããã§ã¯å¾è ã®mod_perlã¢ã¸ã¥ã¼ã«ãæå¹ã«ããæ¹æ³ãç´¹ä»ãã¾ããã©ã¤ãããã±ã¼ã¸çã§ãmod_perlã¢ã¸ã¥ã¼ã«ãç¨ãããã¨ã§å¿«é©ãªPerlã©ã¤ããéãã¾ãããã
ãã¨ãã°æ¬¡ã®ãããªPerlã¹ã¯ãªãããæ¸ãã¦htdocsã«test.plã¨ãã¦ä¿åããã¨ãã¾ãã
#!/usr/local/bin/perl
print "Content-Type: text/html\r\n"; # ã¬ã¹ãã³ã¹ããã
print "\r\n"; # ã¬ã¹ãã³ã¹ãããã®çµäº
print "Hello, world"; # ã¬ã¹ãã³ã¹ããã£
HTTPã¬ã¹ãã³ã¹ãããã®æ¹è¡ã³ã¼ãã¯CRLFã§ãããã¨ã«æ³¨æãã¦ãã ãããCRã¯Carriage Returnã§è¡é 復帰ã表ããLFã¯Line Feedã§æ¹è¡ã表ãã¾ãããªããã¬ã¹ãã³ã¹ãããé¨åãçç¥ããå ´åãmod_perlã§åä½ãã¦ããã¨ä½ã表示ããã¾ããããCGIã§åä½ãã¦ããã¨æ¬¡ã®ã¨ã©ã¼ã¡ãã»ã¼ã¸ã表示ããã¾ãã
Server error! ãµã¼ãå é¨ã§é害ãçºçãã ãªã¯ã¨ã¹ãã«å¿ãããã¨ãã§ãã¾ããã§ããã Error message: Premature end of script headers: test.pl
Perlã¯PHPã®ããã«èªåçã«HTTPã¬ã¹ãã³ã¹ããããçæããªãã®ã§ãèªåã§åºåããå¿ è¦ãããã¾ãããã¾ããªããªããã§ã¯ããã¾ããããã¾ã«è¦ãããLF(\n)ã ããæ¸ãã¦ãã人ã¯æ®å¿µãªããééã£ã¦ããã®ã§ããã®è¨äºãè¦ãå¾ã¯CRLF(\r\n)ã®æ£ããæ¸ãæ¹ã«æ¹ãã¾ãããããã®ãã¨ã¯RFC 2616ã«ãã£ããæ¸ããã¦ããã®ã§ããèªãã§ããã¾ãããã
studyinghttp.net - このウェブサイトは販売用です! - 解説 仕様書 利用 技術 である 手法 日本語訳 プログラミング リソースおよび情報
[URL] http://www.studyinghttp.net/body#Abstract
ãªã¯ã¨ã¹ã (section 5) 㨠ã¬ã¹ãã³ã¹ (section 6) åã¡ãã»ã¼ã¸ã¯ãã¨ã³ãã£ã㣠(ã¡ãã»ã¼ã¸ã®ä»å ç©) ã転éããããã« RFC 822 ã®ä¸è¬çãªã¡ãã»ã¼ã¸ãã©ã¼ãããã使ç¨ããã両ã¿ã¤ãã¨ããéå§è¡ã0 以ä¸ã®ããããã£ã¼ã«ã ("headers"ã¨ãã¦ç¥ããã¦ãããã®)ãããããã£ã¼ã«ãã®çµäºã示ã (CRLF ã®åã«ä½ããªãè¡ã®ãããª) 空è¡ãããã¦ä»»æã®ã¡ãã»ã¼ã¸ããã£ãããªãã
åºæ¬ããã±ã¼ã¸çã§htdocsã«ãããtest.plã¹ã¯ãªãããã¡ã¤ã«ãWebãã©ã¦ã¶ããå®è¡ããã¨ä½ã®åé¡ããªã表示ã§ãã¾ãããã©ã¤ãããã±ã¼ã¸çã§ã¯å®è¡ãããã¨ããã¨æ¬¡ã®ãããªã¨ã©ã¼ã表示ããã¾ãã
Server error! ãµã¼ãå é¨ã§é害ãçºçãã ãªã¯ã¨ã¹ãã«å¿ãããã¨ãã§ãã¾ããã§ããã Error message: couldn't create child process: 720003: test.pl
ãã®ã¨ã©ã¼ã解決ããããã«ãmod_perlã¢ã¸ã¥ã¼ã«ãæå¹ã«ãã¾ããPerlã¢ããªã³xampp-win32-perl-addon-5.10.0-2.2.11-pl2.zipãå±éãã¦ããã®ä¸èº«ããã¹ã¦XAMPPã®ã¤ã³ã¹ãã¼ã«å ãã£ã¬ã¯ããªã«ä¸æ¸ããã¦ãã ãããä¸æ¸ãå®äºå¾ã¯æ¬¡ã®ãã¡ã¤ã«ãç½®ãæãã¦ãã ããã
\xampp\apache\conf\extra\perl.conf.new âã®ãã¡ã¤ã«ãâã®ãã¡ã¤ã«ã«ååãå¤ãã¦ç½®ãæããã \xampp\apache\conf\extra\httpd-perl.conf
以ä¸ã§å®äºã§ããApacheãåèµ·åãã¦ãããå ã»ã©ã¨ã©ã¼ã¨ãªã£ã¦ãããã¼ã¸ãå度èªã¿è¾¼ã¿ãã¦ã¿ã¦ãã ãããä»åº¦ã¯ãã£ããã¨å®è¡ã§ããã¯ãã§ããã¾ããæ¡å¼µåã*.cgiã®ãã¡ã¤ã«ãmod_perlã¢ã¸ã¥ã¼ã«ã§åä½ãããã«ã¯ã.htaccessãã¡ã¤ã«ã«æ¬¡ã®å 容ãè¨è¿°ãã¦ãã ããã
SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders
ããã¾ã§ãã£ã¦ã¿ããã©ãªãããã¾ãåä½ããªããã¨ãã£ãå ´åã¯\xampp\apache\logs\error.logã確èªãã¦ã¿ã¦ãã ããããã£ã¨åå ããããã¯ãã§ãã
XAMPP USB Liteã§Tomcatãåãã
Windowsç¨ã®XAMPP Tomcatã¢ããªã³ã¯æ¬¡ã®URLããå ¥æãããã¨ãã§ãã¾ãã
XAMPP - Browse /Windows add-ons/Tomcat at SourceForge.net
[URL] http://sourceforge.net/projects/xampp/files/Windows%20add-ons/Tomcat/
Tomcatã¢ããªã³ã®ç¾å¨ã®ææ°ãã¼ã¸ã§ã³ã¯æ¬¡ã®ã¨ããã§ãã
- xampp-tomcat-addon-win32-6.0.20.exe
- èªå·±å±éå½¢å¼ã
- xampp-tomcat-addon-win32-6.0.20.zip
- ZIPå½¢å¼
åºæ¬ããã±ã¼ã¸ã®v1.7.4ã§ã¯ããã¦Tomcat 6.0ãå«ã¾ãããã®å¾ã®v1.7.5以éã¯Tomcat 7.0ãå«ã¾ããããã«ãªãã¾ãããã©ã¤ãããã±ã¼ã¸ã§ã¯Tomcatãå«ã¾ãã¦ããªããããTomcatãåããã«ã¯ãã¢ããªã³ãå
¥æãã¦ãããXAMPPã®ã¤ã³ã¹ãã¼ã«å
ãã£ã¬ã¯ããªã«ä¸æ¸ãããå¿
è¦ãããã¾ãã
Tomcatã¢ããªã³xampp-tomcat-addon-win32-6.0.20.zipãå±éãã¦ããã®ä¸èº«ããã¹ã¦XAMPPã®ã¤ã³ã¹ãã¼ã«å
ãã£ã¬ã¯ããªã«ä¸æ¸ããã¦ãã ãããä¸æ¸ãå®äºå¾ã¯ãããããã¡ã¤ã«ã®å
容ãç·¨éããå¿
è¦ãããã¾ããããããã¡ã¤ã«ã®å
容ã¯ããªãçç¥ããã¦ãããããJRE_HOMEã¨CATALINA_HOMEã®2ã¤ã®å¤æ°ã追å ããæ¹æ³ã§catalina_start.batã¨catalina_stop.batããããã¡ã¤ã«ãæ¸ãæãã¦ãã ããããªããTomcatã¢ããªã³xampp-tomcat-addon-win32-6.0.20ã¯Tomcat 6.0ã§Apacheã¨ã®é£æºã«mod_jk.soã¢ã¸ã¥ã¼ã«ã使ç¨ãã¦ãããã©ã¤ãããã±ã¼ã¸ã«åå¨ããxampp-control.exeã«ã¯Tomcatã管çããé
ç®ã¯ãªããã¨ã«æ³¨æãã¦ãã ããã
XAMPPãæã¡éã¶
XAMPP USB Liteã¯USBã¨ããååãã¤ãã¦ãã¾ãããUSBã¡ã¢ãªå°ç¨ã¨ããæå³ã§ã¯ããã¾ãããå¿
è¦æå°éã®ããã±ã¼ã¸ã«ã¾ã¨ããã©ã¤ããã¼ã¸ã§ã³ã¨ããèªèãæ£ããã§ããã©ã¤ãããã±ã¼ã¸ãã©ã¤ããã¼ã¸ã§ã³ãªããåºæ¬ããã±ã¼ã¸ã¯ãã«ãã¼ã¸ã§ã³ã¨ãããã¨ãã§ãã¾ããã©ã¤ãããã±ã¼ã¸ã¯ãv1.7.3ã¾ã§ã¯XAMPP Liteã¨ããååã§ã絶対ãã¹èªä½ã\xampplite\ã¨ãªã£ã¦ãã¾ãããããããv1.7.5ããã¯XAMPP USB Liteã¨ãªããåºæ¬ããã±ã¼ã¸ã¨åããã絶対ãã¹ã\xampp\ã¨ãªãã¾ããã
ã¤ã³ã¹ãã¼ã©çãå®è¡ããã¨"install.php"ãå®è¡ããã¾ããããã¯è¨å®ãã¡ã¤ã«å
ã«åå¨ãã\xampp\ãã¹ã®å¤æ´ãè¡ã£ã¦ããã ãã§ãããªã®ã§ãXAMPP USB Liteã§Perl/Tomcatãåããã¨ããä½æ¥ããã®ãããã©ããããã¨æã£ããåºæ¬ããã±ã¼ã¸çã®å§ç¸®ãã¡ã¤ã«(ZIPå½¢å¼ã¾ãã¯7zå½¢å¼)ããå§ãã§ããå§ç¸®ãã¡ã¤ã«ãå±éãã¦ã«ã¼ããã£ã¬ã¯ããªç´ä¸ã«è¨ç½®ããã°ããã«ä½¿ãã¾ãããã¡ããUSBã¡ã¢ãªã«ãã®ã¾ã¾å
¥ãã¦ããã£ããåãã¾ãããã¾ã©ãã®USBã¡ã¢ãªã¯å¤§å®¹éãªã®ã§ãåºæ¬ããã±ã¼ã¸çããã®ã¾ã¾çªã£è¾¼ãã§ããã°ããã®ã§ãããã¨ãã°USBã¡ã¢ãªã®ãã©ã¤ãã¬ã¿ã¼ãE:ã®å ´åã¯ãE:\xampp\ã«ãã¦ããã°ãã³ã³ããã¼ã«ããã«ã®E:\xampp\xampp-controle.exeãåãããããã©ã¤ãã¬ã¿ã¼ãå¤ãã£ãã¨ãã¦ãåé¡ãªã使ãã¾ãããã ããåºæ¬ããã±ã¼ã¸çã§ã¯USBã¡ã¢ãªä¸ã§setup_xampp.batããã®ã¾ã¾å®è¡ããªãã§ãã ããã絶対ãã¹ããã©ã¤ãã¬ã¿ã¼ãå«ãã®ãã®ã«æ¸ãæãã£ã¦ãã¾ãã¾ãã詳細ã¯setup_xampp.batã®å½¹å²ãç¥ããåèã«ãã¦ãã ãããã¾ããå½ç¶ã®ãã¨ãªããããµã¼ãã¹ã¸ã®ç»é²ã¯è¡ããªãã§ãã ããã
setup_xampp.batã®å½¹å²ãç¥ã
XAMPPã®ã¤ã³ã¹ãã¼ã©çã§ã¯ãsetup_xampp.batå
ã«æ¸ããã¦ããããã«ã\xampp\install\install.phpã®å®è¡ãè¡ããApacheã®confãã¡ã¤ã«å
ã®ãã¹ãPHPã®å®è¡ãã¹ãMercuryMailã®ãã¹ãªã©ãè¨å®ãã¡ã¤ã«å
ã«åå¨ãã\xampp\ãã¹ããã¤ã³ã¹ãã¼ã«å
ã®ãã£ã¬ã¯ããªã«åãããã«æ¸ãæãã¦ãã¾ããinstall.phpãå®è¡ããªãã¦ããXAMPPã¯ããã©ã«ãã§çµ¶å¯¾ãã¹ã\xampp\ã¨ãªã£ã¦ãã¾ãããã®ãããã«ã¼ããã©ã¤ãç´ä¸ã«ãããå ´åã¯ãã¹ãå¤æ´ããå¿
è¦ããªããsetup_xampp.batãããããå®è¡ããå¿
è¦ã¯ããã¾ããã
ã¾ããåºæ¬ããã±ã¼ã¸çã§ã¯ãsetup_xampp.batãå®è¡ããã¨ãã©ã¤ãã¬ã¿ã¼ãå«ã絶対ãã¹(C:ãé ã«ã¤ããã®)ã«æ¸ãæããã¾ãããã®å ´åã¯ããã©ã¤ãã®ç§»å(ãã£ã¬ã¯ããªã®é層ã¯åãã«ãã¦C:\ããD:\ãªã©)ãè¡ã£ã¦ãã¾ãã¨å度setup_xampp.batãå®è¡ããã¾ã§ãåä½ããªããªã£ã¦ãã¾ãã¾ãããã®åé¡ã解決ãããããUSBã¡ã¢ãªãæ³å®ããã©ã¤ãããã±ã¼ã¸çã§ã¯setup_xampp.batãå®è¡ãã¦ãããã©ã¤ãã¬ã¿ã¼ãå«ã¾ãªãããã«ãªã£ã¦ãã¾ãã
åºæ¬ããã±ã¼ã¸çãã©ã¤ãããã±ã¼ã¸çã¨åæ§ã«åä½ããããå ´åã¯setup_xampp.batå ã®PHPå®è¡æã«æ¬¡ã®ããã«usbãä»ã足ãã¦ãã ããããã®å¤æ´ãè¡ããã¨ã§ä½åãªãã©ã¤ãã¬ã¿ã¼ãå«ããªãããã«ã§ãã¾ããusbãããã®ã¨ãªãã®ã¨ã§ã¯ãåã«ãã©ã¤ãã¬ã¿ã¼ãã¤ããã¤ããªããã ãã®éãã§ãããã以å¤ã¯ã¾ã£ããåãããã«åä½ãã¾ãã
:Normal set PHP_BIN=php\php.exe set CONFIG_PHP=install\install.php %PHP_BIN% -n -d output_buffering=0 %CONFIG_PHP% usb GOTO END
ã¤ã³ã¹ãã¼ã©çã®åä½ãç¥ã
ã¤ã³ã¹ãã¼ã©çã®åä½ã¯\xampp\src\xampp-nsi-installer\scripts\ã§ç¢ºèªãããã¨ãã§ãã¾ããæ¡å¼µåãnsiã®ãã¡ã¤ã«ã¯NSIS(Nullsoft Scriptable Install System)ãç¨ãã¦ä½æããã¦ãã¾ãã
åºæ¬ããã±ã¼ã¸ã®ã¤ã³ã¹ãã¼ã©çã使ç¨ããã¬ã¸ã¹ããªã¯æ¬¡ã®ã¨ããã§ãã
DeleteRegKey HKLM "Software\xampp" DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\xampp"
Mercury Mail Transport Systemãèµ·åããå ´åã¯æ¬¡ã®ã¬ã¸ã¹ããªãæ¸ãè¾¼ã¾ãã¾ãã
HKEY_CLASSES_ROOT\Software\Mercury32 (HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SOFTWARE\Mercury32) HKEY_CURRENT_USER\Software\Mercury32 (HKEY_USERS\[SID]\Software\Mercury32)
ã¬ã¸ã¹ããªã®é ç®ã«ã¤ãã¦ã¯æ¬¡ãåèã«ãã¦ãã ããã
ãµã¼ãã¹ã®ç»é²ã解é¤ãã
ãµã¼ãã¹ã«ç»é²ããã®ãå¿ãã¦ãã¦XAMPPãã¢ã³ã¤ã³ã¹ãã¼ã«ãã¦ãã¾ããç»é²ããã£ã±ãªãã®ç¶æ ã«ãªã£ã¦ãããã¨ãããã¾ãããããªã¨ãã¯æ¬¡ã®ã³ãã³ãã§ãµã¼ãã¹ã®ç»é²ã解é¤ãã¾ãããã
sc.exe query apache2.2 sc.exe delete apache2.2 sc.exe query mysql sc.exe delete mysql sc.exe query "FileZilla Server" sc.exe delete "FileZilla Server"
queryã§ãµã¼ãã¹ããããã©ãã確èªããdeleteã§ãµã¼ãã¹ã®ç»é²è§£é¤ãè¡ã£ã¦ãã¾ãã
Skypeã®ãã¼ããå¤æ´ãã
Skypeã¯ããã©ã«ãã§80çªãã¼ã(httpéä¿¡ç¨)ã¨443çªãã¼ã(httpséä¿¡ç¨)ã使ç¨ãã¾ãããã®ãããSkypeãå ã«èµ·åãã¦ããå ´åãåããã¼ãã使ç¨ããApacheãç«ã¡ä¸ãããã¨ãã§ããªããªã£ã¦ãã¾ãã¾ãããä¸è¨ã®ãã¼ãã«ä»£ããããã¼ã80ã使ç¨ãã®ãã§ãã¯ãå¤ãã¦è¨å®ãå¤æ´ãã¾ãããã
説æã ãã§ã¯ãã¼ã80ããå©ç¨ãã¦ããªãããã«æãã¾ããããã¼ã443ããã£ããã¨å ¥ã£ã¦ãã¾ãã詳ããå 容ã«ã¤ãã¦ã¯ã検証:ネットワーク管理者のためのSkype入門 第2回 Skypeの通信メカニズム 1.Skypeの通信開始処理 - @IT 2005/07/15ãèªãã¨ããã§ãã
ã¡ãªã¿ã«ã0ãã1023ã¾ã§ã¯ã¦ã§ã«ãã¦ã³ãã¼ã(Well-Known Ports)çªå·ã1024ãã49151ã¾ã§ã¯ç»é²æ¸ã¿ãã¼ã(Registered ports)çªå·ã¨å¼ã°ãã¦ãããIANA(Internet Assigned Numbers Authority)ãå
¬éãã¦ããService Name and Transport Protocol Port Number Registryã§ããããã®ãã¼ãã使ç¨ããã¢ããªã±ã¼ã·ã§ã³ã確èªãããã¨ãã§ãã¾ããList of TCP and UDP port numbers - Wikipediaã便å©ã§ãã
ãããã«
XAMPPã®ã¡ãã£ã¨ããçåãããã°ã³ã¡ã³ãæ¬ãªã©ã§ãç¥ãããã ãããXAMPPã極ãããããªè§£èª¬è¨äºãæ¸ãã¦ããããã¨æãã¾ãããã¿ã¯éæåãä»ãã¦ãã¾ãã