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

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


  1. 1 Seomeemi

    Backlinks .pl Inbound links from websites with .pl extension are an efficient strategy to increase your web presence and authority on Google search results. Links are placed exclusively on backlinks within genuine Polish discussion platforms weblogs along with discussion sections. Such approach represents a natural placement which not merely boosts search engine optimization but also attracts additional referral traffic by genuine users. What makes it beneficial to select this SEO solution? Full Polish domain coverage Mix of Polish forums topic-specific blogs and contextual comments Authentic linking profile that Google prioritizes Following the work of the work you will receive comprehensive plus clear text report

  2. 2 DarrylEdubs

    click to read more vbet poker

  3. 3 RaymondErrok

    here are the findings vbet live bets

  4. 4 Josephtob

    ссылка на сайт cameta casino

  5. 5 Josephtob

    узнать больше cometa casino

  6. 6 Donaldmyday

    Продолжение vodka.bet

  7. 7 natyajnie potolki_lySr

    цена кв м натяжного потолка natyazhnye-potolki-lipeck-1.ru .

  8. 8 Patrickimase

    Franchise Management Software BrandWide:the all-in-one franchise management software to manage and expand your network Running a multi-location brand on disconnected point solutions creates confusion wasted time and compliance risk. BrandWide consolidates the patchwork with a single integrated franchise software system—providing the governance analytics and visibility to expand confidently and ensure every unit succeeds. Sell and open locations faster Automate franchise development with automated follow-ups digital signatures and live deal pipeline visibility. Then run onboarding and new-store opening playbooks with checklists and approvals in a single workspace purpose-built for franchising. Keep standards tight across the system Keep every unit on brand with a built-in LMS learner progress analytics assessments and certificates and mobile field audits—zero spreadsheet chaos. Unify support and knowledge sharing Handle requests efficiently through a franchise helpdesk. An intelligent intranet structures policies playbooks links and files so teams grab the right file every time. Make royalties accurate and KPIs visible Automate royalty calculations—streamline invoicing collections and reporting. Executives track KPIs across all locations on a real-time corporate dashboard to make data-driven decisions. Equip locations to win in their markets Give franchisees a powerful franchise CRM and automated email marketing to increase repeat business and sales. BrandWide operates as a complete franchise CRM platform that unifies development operations and marketing. Net result: When you assess software for franchise management see why teams choose BrandWide as the top-rated franchise management software—a unified end-to-end franchise software platform that brings together sales onboarding LMS helpdesk compliance royalties and dashboards. Schedule a personalized demo and explore your use cases.

Leave a Reply