Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to Install ActivePerl 5.12+mod_perl 2.0.4 for Apache 2.2.29 on Windows
ChannelTaonoi NarakmakDescription from the creator
วิธีติดตั้ง ActivePerl 5.12+mod_perl 2.0.4 สำหรับ Apache 2.2.29
1. install Apache 2.2.29
จาก httpd.apache.org/download.cgi
2. กำหนด vhost เพื่อแยกเว็บไซต์เป็นคนละส่วนจากกัน ในที่นี้มี localhost,website1,website2 เพื่อทดสอบเบื้องต้น
2.1 เข้าไปแก้ไขไฟล์ c:\Windows\System32\drivers\etc\host ไฟล์นี้ไม่มีนามสกุล ให้เพิ่มข้อมูลเว็บ เตรียมไว้ล่วงหน้าสำหรับ vhost
127.0.0.1 localhost
127.0.0.1 website1
127.0.0.1 website2
2.2 แก้ไขไฟล์ c:\Apache\conf\extra\httpd_vhosts.conf
2. install Php 5.4.40
โดยดาวน์โหลดจาก windows.php.net/download#php-5.4
VC9 x86 Thread Safe 2015-Apr-15 23:09:38
ชื่อไฟล์คือ php-5.4.40-nts-Win32-VC9-x86.zip
3. ทดสอบการทำงาน phpinfo.php ว่าทำงาน php ได้แล้ว
4. install ActivePerl 5.12
ดาวน์โหลดจาก
code.google.com/p/projecteqemu/downloads/detail…
หรือที่อื่นก็ได้เช่น lowpensky.com/perl/
ตรวจสอบ path ใน control panel - path
ให้มีตัวแปร C:\Perl\site\bin;C:\Perl\bin;เพิ่มด้านหน้า
5. install mod_perl.so
strawberryperl.com/package/kmx/mod_perl/5.12_x8…
ไปวางไว้ที่ C:\Apache\modules\
6. แก้ไขไฟล์ C:\Apache\conf\httpd.conf
ทดสอบการทำงานผ่าน phpinfo.php ว่า mod_perl ทำงานหรือยัง
7. สร้าง Folder c:\usr\perl\bin
copy ไฟล์ c:\perl\perl.exe เข้าไปด้านในสุดคือที่ c:\usr\perl\bin
สร้าง Folder c:\usr\local\perl\bin
copy ไฟล์ c:\perl\perl.exe เข้าไปด้านในสุดคือที่ c:\usr\local\perl\bin
8. สร้าง vhost เพิ่มชื่อ perl หรืออื่น ๆ ก้อได้
แก้ไขไฟล์ C:\Apache\conf\httpd-vhosts.conf
ส่วนสำคัญอยู่ตรง Allow from all กับ ExecCGI ให้เรียบร้อยจึงทำงานได้
9. สร้างไฟล์ทดสอบ test.pl ไว้ที่ D:\_mysite_\perl
10. รันผ่าน perl/test.pl
About this tutorial
Taonoi Narakmak published this 34:58 video tutorial on October 26, 2015. It has been watched 1,716 times on YouTube.
- Channel
- Taonoi Narakmak
- Category
- Science & Technology
- Duration
- 34:58
- Published
- October 26, 2015
- Views
- 1,716
- Likes
- 3
Tags
Share
Further reading
-
tutorial - strawberry perl windows 10 - Code Examples
code-examples.net
Even for the windows version of the Apache http server, there is a precompiled mod_perl (2.0.4) ppm available which will (did for me) work out of the box with Activeperl 5.12.1 and Apache 2.2.15. I think I dropped Straw…
-
Should I choose ActivePerl or Strawberry Perl for Windows ...
exceptionshub.com
Even for the windows version of the Apache http server, there is a precompiled mod_perl (2.0.4) ppm available which will (did for me) work out of the box with Activeperl 5.12.1 and Apache 2.2.15. I think I dropped Straw…
-
FreeBSD Ports: Perl5
freebsd.org
cgiirc-0.5.12 IRC web gateway written in Perl Long description | Changes | Main Web Site Maintained by: [email protected] Requires: perl5-5.32.0_1 Also listed in: Irc, Www. checkbashisms-2.19.6 Check for the presence…
This tutorial in other languages
- FRComment installer ActivePerl + 5,12 mod_perl 2.0.4 pour Apache 2.2.29 sur Windows
- ESCómo instalar ActivePerl 5.12 + mod_perl para Apache 2.2.29 2.0.4 en Windows
- PTComo instalar o ActivePerl 5,12 + mod_perl 2.0.4 para o Apache 2.2.29 no Windows
- ITCome installare ActivePerl 5.12 + mod_perl 2.0.4 per Apache 2.2.29 su Windows
- DESo installieren Sie ActivePerl 5.12 + mod_perl 2.0.4 für Apache 2.2.29 unter Windows
- NLHoe te installeren ActivePerl 5.12 + mod_perl 2.0.4 voor Apache 2.2.29 op Windows
- RUКак установить ActivePerl 5,12 + mod_perl 2.0.4 для Apache 2.2.29 на Windows,
- PLJak zainstalować ActivePerl 5,12 + mod_perl 2.0.4 dla Apache 2.2.29 w systemie Windows
- JAWindows上のApache 2.2.29用のActivePerl 5.12 + mod_perlの2.0.4をインストールする方法
- ARكيفية تثبيت ActivePerl 5.12 + mod_perl 2.0.4 لأباتشي 2.2.29 على ويندوز
- HIविंडोज पर ActivePerl 5.12 + मोड-पर्ल 2.0.4 स्थापित करने के लिए कैसे अपाचे 2.2.29 के लिए
- IDCara Instal ActivePerl 5,12 + mod_perl 2.0.4 Apache 2.2.29 di Windows