"a2nsite""a2dissite"无效
回声:
错误:网站XXXXXX不存在!
我发誓它存在于sites-available文件夹中.
键入a2ensite并双击Tab按钮后,它显示/root目录.
a2en/dissite脚本一定有问题.
我怎样才能恢复工作?
=====================以下是错误日志的最后几行:
[Sun Aug 04 22:59:31.406192 2013] [mpm_event:notice] [pid 5378:tid 140459282536256] AH00489: Apache/2.4.6 (Ubuntu) configured -- resuming normal operations
[Sun Aug 04 22:59:31.406433 2013] [core:notice] [pid 5378:tid 140459282536256] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 04 23:09:44.648984 2013] [mpm_event:notice] [pid 5378:tid 140459282536256] AH00491: caught SIGTERM, shutting down
[Sun Aug 04 23:09:46.001182 2013] [mpm_event:notice] [pid 5692:tid 139671144335168] AH00489: Apache/2.4.6 (Ubuntu) configured -- resuming normal operations
[Sun Aug 04 23:09:46.001490 2013] …Run Code Online (Sandbox Code Playgroud) 从官方php手册:
session_register_shutdown- 会话关闭功能注册
session_write_close()为关闭功能.
那么,会话关闭意味着什么?session_write_close和这之间有什么区别?
为了说清楚,这个功能实际上做了什么?我们何时使用它?
似乎很少有人在网上使用和讨论这个功能.
我第一次学习Assembly Lang。这是(gdb)反汇编的一部分:
mov $0x131,%eax
cmp 0x8(%rsp),%eax //Question here, what is the value of 0x8(%rsp)?
(gdb)i r
rax 0x131 305
rbx 0x7fffffffe578 140737488348536
rcx 0x20 32
rdx 0x7fffffffe478 140737488348280
rsi 0x0 0
rdi 0x1999999999999999 1844674407370955161
rbp 0x0 0x0
rsp 0x7fffffffe470 0x7fffffffe470
r8 0x37ed3bb080 240203313280
r9 0x0 0
r10 0x1e 30
r11 0x0 0
r12 0x400cb0 4197552
r13 0x7fffffffe570 140737488348528
r14 0x0 0
r15 0x0 0
rip 0x400fd9 0x400fd9 <phase_3+129>
eflags 0x212 [ AF IF ]
cs 0x33 51
ss 0x2b 43 …Run Code Online (Sandbox Code Playgroud)