Home | Mirror | Search |
$ sudo apt-get install php5 php5-cli
fastcgi
sudo apt-get install php5 sudo apt-get install php5-cli sudo apt-get install php5-fpm
date.timezone = "Asia/Chongqing" date.timezone = "Asia/Shanghai"
大陸內地可用的值是:Asia/Chongqing ,Asia/Shanghai ,Asia/Urumqi (依次為重慶,上海,烏魯木齊) 港台地區可用:Asia/Macao ,Asia/Hong_Kong ,Asia/Taipei (依次為澳門,香港,台北) 還有新加坡:Asia/Singapore 其他可用的值是:Etc/GMT-8 ,Singapore ,Hongkong ,PRC (中華人民共和國)
php 代碼中加入:
date_default_timezone_set ("Asia/Chongqing");
disable_functions = phpinfo,
檔案目錄
chdir,chroot,dir,getcwd,opendir,readdir,scandir,mkdir,rmdir,unlink,delete,copy,rename fopen,file,file_get_contents,fputs,fwrite,
權限
chgrp,chmod,chown
Shell 安全
exec, system, shell_exec, escapeshellcmd, escapeshellarg, proc_get_status, proc_open
php.ini 安全
ini_set, ini_alter, max_execution_time