星期三, 9月 19, 2007

Apache+MySQL+PHP on OpenBSD

OpenBSD 已經內建了 Apache,但預設是不啟動的,啟動的方式如下:vi /etc/rc.conf找到下面的這一行httpd_flags=NO # for normal use: "" (or "-DSSL" after reading ssl(8))改成httpd_flags="" # for normal use: "" (or "-DSSL" after reading ssl(8))或httpd_flags="-DSSL" # for normal use: "" (or "-DSSL" after reading ssl(8))重新開機或是手動執行/usr/sbin/apachectl start打開瀏覽器如果可以如下的畫面,代表 Apache Web Server 已經啟動了!Apache Web Server 的根目錄在 /var/www/htdocs設定檔在 /var/www/conf/httpd.conf底下以 packages 的方式來安裝 MySQL+PHP預設 shell 已改成 bashvi /etc/profile加入下面的一行export...
Read rest of entry
 

Recommended Product

  • ads
  • ads
  • ads
  • ads
  • ads
  • ads
  • ads
  • ads

How to Order?

My Blog List

喜歡不一定擁有 Copyright © 2009 Shopping Bag is Designed by Ipietoon Sponsored by Online Business Journal