Perl + Mysql + Apache + Php

現在在 FreeBSD 架設各種 service 真是愈來愈簡易了
但還是會有一些細節會忘記,因此將一些常用的步驟紀錄下來以便以後查詢

+ PERL 5.8.7

先自行安裝 /usr/ports/lang/perl5.8
避免等到裝 Apache 時才一起裝
鹿小滑說要用下面參數才是王道

ENABLE_SUIDPERL=yes // 沒有這一項 Openwebmail 動不了
WITH_THREADS=yes

+ MYSQL 5.1.44

安裝 /usr/ports/databases/mysql51-server

WITH_CHARSET=utf8
WITH_COLLATION=utf8_general_ci
WITH_XCHARSET=all
WITH_OPENSSL=yes
WITH_PROC_SCOPE_PTH=yes
OVERWRITE_DB=yes
SKIP_DNS_CHECK=yes
BUILD_OPTIMIZED=yes

修改 /etc/rc.conf 增加 mysql_enable = yes
/usr/local/etc/rc.d/mysql-server.sh start 啟動 mysql
使用 mysqladmin -u root password -p [密碼] 設定 root 密碼

+ APACHE 2.2.0

安裝 /usr/ports/www/apache22

鹿小滑說他都用下面這些參數滑
WITH_MPM=worker
WITH_THREADS=yes
WITH_BERKELEYDB=db4 // 安裝 SVN 時會需要

修改 httpd.conf
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
附: 安裝 /usr/ports/devel/subversion
cookys 說要裝 svn 時要加入下面這些參數才是王道
WITH_PERL=yes
WITH_PYTHON=yes
WITH_MOD_DAV_SVN=yes
WITH_SVNSERVE_WRAPPER=yes

+ PHP 5.1.1

安裝 /usr/ports/lang/php5 (自動包括 mod_php5 和 php5-cli)
WITH_LZW=yes

安裝 /usr/ports/lang/php5-extensions
修改 /etc/rc.conf 增加 apache22_enable = yes
/usr/local/etc/rc.d/apache22.sh start 啟動 apache

自行安裝
/usr/ports/databases/php5-mysql (Mysql 會用到)
/usr/ports/graphics/php5-gd (GD 也是很常用到)
/usr/ports/devel/php5-gettext (Gallery2 會用到)
/usr/ports/converters/php5-mbstring (phpMyAdmin 會用到)

安裝 php modules 完要重新啟動 apache 才有效
Update on 2005/12/27

2772 Responses to “Perl + Mysql + Apache + Php”


  1. 1 herkalkag

    pokies australia Top Australian Pokies: Our Real Testing Results Our team has spent several months testing the top online pokies in Australia. Weve thoroughly evaluated each site checking how fast they pay out the actual value of their bonuses their licensing and how well they work on handheld devices. Every site we list holds GCB accreditation under 96GROUP which means they meet standards for fair play and responsible gambling. Our Top Recommendations Partner Top Offer Min Dep Payout Speed Score APP996 Up to AUD 2000 match AUD 5 5–10 mins 5.0 OPAL96 6 weekly commission AUD 5 10 mins 4.9 VIVA96 110 welcome bonus AUD 5 10–15 mins 4.8 MM96 VIP rewards missions AUD 5 15 mins 4.7 Processing time after KYC verification. Processing times from your bank may vary. Our Discoveries – APP996: Features a 50 welcome bonus and a 0.96 rebate. – OPAL96: Features over 5000 games and is a newer platform. – VIVA96: Supplies a 110 bonus 17 daily reload and an 8 win/loss rebate. – MM96: Offers up to a 100 welcome offer and daily missions. Our Review Process We made true withdrawal attempts to verify processing times checked the validity of licenses and RNG fairness analyzed the real bonus value after accounting for wagering requirements and withdrawal caps assessed the quality of their 24/7 support and confirmed responsible gambling tools were available. Mobile Experience All these sites use Gialaitechs mobile-friendly platform: – Play right in browser—no app needed – Add the site to your home screen for quick access – Includes biometric login works well with one hand quick cashier PayID cards e-wallets crypto – Includes custom themes session controls and optional notifications for bonuses or payouts Key Details These partners are GCB-licensed. Our ratings are our own opinion—any affiliate payments dont influence our scores. All bonuses come with terms wagering requirements withdrawal caps game restrictions. Must be 18 or older. If you need help with gambling: Gambling Help Online: 1800 858 858 or gamblinghelponline.org.au Gamble responsibly. Know your limits.

  2. 2 DanielReick

    узнать больше Здесь kraken официальный сайт

Leave a Reply