Warning: mktime() [function.mktime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead in /usr/local/www/lifetype/class/data/Date.class.php on line 240
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead in /usr/local/www/lifetype/class/locale/locale.class.php on line 505
四月
Warning: mktime() [function.mktime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead in /usr/local/www/lifetype/class/data/Date.class.php on line 240
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead in /usr/local/www/lifetype/class/locale/locale.class.php on line 505
10
安裝軟體的選項 Make
Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/local/www/lifetype/class/cache/Cache_Lite/Lite.php on line 717
Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/local/www/lifetype/class/cache/Cache_Lite/Lite.php on line 727
FreeBSD 引用 (0)
來源:資訊隨筆 (http://140.111.152.155/blog/post/2/316)
一般常用 ports 來安裝軟體的人,常常會看到類似下面的畫面
這一個畫面就是要您選擇編譯套件時所用的參數
我們可以在安裝 ports 時,先用下面的指令來選擇編譯的參數,或顯示目前使用的參數,以及移除參數。
make config:選擇套件要編譯時的參數
make showconfig:顯示目前使用的參數
以 lighttpd 為例
# make showconfig
===> The following configuration options are available for lighttpd-1.4.18_1:
BZIP2=on "Enable Bzip2 support"
CML=off "Enable Cache Meta Language support"
FAM=off "Enable fam/gamin support"
GDBM=off "Enable gdbm storage support"
IPV6=off "Enable IPV6 support"
MAGNET=off "Enable magnet support"
MEMCACHE=off "Enable memcached storage support"
MYSQL=on "Enable MYSQL support"
OPENLDAP=on "Enable LDAP support"
OPENSSL=on "Enable SSL support"
VALGRIND=off "Enable valgrind support"
WEBDAV=off "Enable WebDAV support"
make rmconfig:移除參數
這些編譯時所用的參數,都儲存在 /var/db/ports 目錄之下,安裝時要選擇編譯參數的套件都出現在這裡,一個套件就會有一個目錄
[root@freebsd /var/db/ports]# ls
ImageMagick/ isc-dhcp3-server/ openldap23/ phpMyAdmin/ rsync/
awstats/ lftp/ openldap24/ portupgrade/ samba3/
cacti/ lighttpd/ php5/ pure-ftpd/ vsftpd/
gettext/ mrtg/ php5-extensions/ rrdtool/
以 lighttpd 為例,目錄下是一個 options 的檔案,檔案裡面就是編譯時所用的參數
# cd /var/db/ports/lighttpd
# cat options
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for lighttpd-1.4.18_1
_OPTIONS_READ=lighttpd-1.4.18_1
WITH_BZIP2=true
WITHOUT_CML=true
WITHOUT_FAM=true
WITHOUT_GDBM=true
WITHOUT_IPV6=true
WITHOUT_MAGNET=true
WITHOUT_MEMCACHE=true
WITH_MYSQL=true
WITH_OPENLDAP=true
WITH_OPENSSL=true
WITHOUT_VALGRIND=true
WITHOUT_WEBDAV=true