Difference between revisions of "完美日用小工具"

From 清冽之泉
Jump to navigation Jump to search
Tags: Mobile web edit Mobile edit
Line 7: Line 7:
 
<syntaxhighlight lang="bash" line>
 
<syntaxhighlight lang="bash" line>
 
ps aux | awk '{print $11}'
 
ps aux | awk '{print $11}'
  +
</syntaxhighlight>
  +
  +
* 让 apache2 中的 php 代码活起来
  +
<syntaxhighlight lang="bash">
  +
Include etc/apache2/conf.d/*.conf
  +
# Add module for PHP 8
  +
LoadModule php_module libexec/apache2/libphp.so
  +
AddHandler php-script .php
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 18:17, 8 May 2024

  • zip 文件解压后文件名乱码
1unar -e GBK
  • 显示所有进程,且只显示第12列
1ps aux | awk '{print $11}'
  • 让 apache2 中的 php 代码活起来
Include etc/apache2/conf.d/*.conf
# Add module for PHP 8
LoadModule php_module libexec/apache2/libphp.so
AddHandler php-script .php