rlogin
2011-10-18 17:03

张老师,我发现之前mysql自动备份的代码中可能是因为复制的缘故,发帖时多了好多些"\",例如:NewFile="$Mysql_bk_di"/$i$(date +%Y%m%d).tgz已经修正,但是运行时还是有错,麻烦您帮帮我!QQ:359058503[root@localhost data]# sh 1.sh 1.sh: line 10: syntax error near unexpected token `NewFile="$Mysql_bk_dir"/$i$(d'te +%Y%m%d).tgz'.sh: line 10: `NewFile="$Mysql_bk_dir"/$i$(date +%Y%m%d).tgz
fengjiwei888
2011-10-18 09:23

6.0版本什么时候发布啊
mobywu
2011-10-16 10:32
张老师:您好!,在这里想向您咨询一下,大概什么时候可以发布建站平台的新版本?如果2,3天的话偶就在等等,如果时间比较长的话偶就先另寻其他方式建站了,谢谢您了!
Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 40 bytes) in D:\APMServ5.2.6\www\phpMyAdmin\libraries\select_lang.lib.php on line 319
致命错误:允许内存大小262144字节用尽(尝试分配40字节)在D:\ APMServ5.2.6\ WWW\ phpMyAdmin的\库\ select_lang.lib.php上线319
数据库打不开了.以前很好的.现在这样了.怎么解决
致命错误:允许内存大小262144字节用尽(尝试分配40字节)在D:\ APMServ5.2.6\ WWW\ phpMyAdmin的\库\ select_lang.lib.php上线319
数据库打不开了.以前很好的.现在这样了.怎么解决

您好,我叫蘇介吾,住在台灣桃園,工作是網路管理師,有買了一本您的大作拜讀,先恭喜您在北京買房。有個問題想請教:如何在nginx裡設定像 apache 一樣的 alias?我公司的虛擬網站有500個,但都共用 /www/pro 的資料夾,都跑 php。我不想一個一個設定 location /pro/ { alias /www/pro; index.php } location ~ ^/pro/.+.php$ { root /www/pro; rewrite /pro/(.*.php) /$1break; include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /www/pro$fastcgi_script_name;
include fcgi.conf; }
我有找到一個方法是設 ln -s /www/pro /www/web1/pro,可是500個設定也是很麻煩,不知道有沒有更簡單的方法?謝謝指教。E-mail afgn@seed.net.tw
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /www/pro$fastcgi_script_name;
include fcgi.conf; }
我有找到一個方法是設 ln -s /www/pro /www/web1/pro,可是500個設定也是很麻煩,不知道有沒有更簡單的方法?謝謝指教。E-mail afgn@seed.net.tw

hhhhhhhhhh
2011-10-14 22:08
张工,你好,我什么都不懂,瞎问你莫笑。你的APMSERV能否做个在windows和Linux之间切换的功能,这样在不同的系统下都可用。
钛元素
2011-10-14 20:43
张大大您好!
关于nginx遇到一个疑难问题,百度无解后只好来求助于你,还望相助!
因需要在win上配置nginx环境,现想搭建一个localhost本地环境(关闭iis)
nginx1.1.5+php5.3.8+fastcgi,配置成功,可以正常运行
现在想在一个server配置段中,通过多个location来访问多个web程序,如下:
location / {
#设置网站默认首页文件
index index.html index.htm index.php;
#设置网站根目录
root d:/web/php/;
}
location /rencai1/ {
index index.html index.htm index.php;
alias /web/php/rencai/rencai1/;
}
location /rencai2/ {
index index.html index.htm index.php;
alias /web/php/test/;
}
访问http://localhost/rencai1/index.php 或者 http://localhost/rencai2/ 都提示:
No input file specified.
日志显示:
127.0.0.1 - - [14/Oct/2011:19:47:35 +0800] "GET /rencai1/index.php HTTP/1.1" 404 36 "-" "Mozilla/5.0 (Windows NT 5.2; rv:7.0.1) Gecko/20100101 Firefox/7.0.1"
127.0.0.1 - - [14/Oct/2011:20:41:41 +0800] "GET /rencai2/test2.php HTTP/1.1" 404 36 "-" "Mozilla/5.0 (Windows NT 5.2; rv:7.0.1) Gecko/20100101 Firefox/7.0.1"
一直无解啊,求助!泪!
my email: tgh1981@163.com
关于nginx遇到一个疑难问题,百度无解后只好来求助于你,还望相助!
因需要在win上配置nginx环境,现想搭建一个localhost本地环境(关闭iis)
nginx1.1.5+php5.3.8+fastcgi,配置成功,可以正常运行
现在想在一个server配置段中,通过多个location来访问多个web程序,如下:
location / {
#设置网站默认首页文件
index index.html index.htm index.php;
#设置网站根目录
root d:/web/php/;
}
location /rencai1/ {
index index.html index.htm index.php;
alias /web/php/rencai/rencai1/;
}
location /rencai2/ {
index index.html index.htm index.php;
alias /web/php/test/;
}
访问http://localhost/rencai1/index.php 或者 http://localhost/rencai2/ 都提示:
No input file specified.
日志显示:
127.0.0.1 - - [14/Oct/2011:19:47:35 +0800] "GET /rencai1/index.php HTTP/1.1" 404 36 "-" "Mozilla/5.0 (Windows NT 5.2; rv:7.0.1) Gecko/20100101 Firefox/7.0.1"
127.0.0.1 - - [14/Oct/2011:20:41:41 +0800] "GET /rencai2/test2.php HTTP/1.1" 404 36 "-" "Mozilla/5.0 (Windows NT 5.2; rv:7.0.1) Gecko/20100101 Firefox/7.0.1"
一直无解啊,求助!泪!
my email: tgh1981@163.com

