15,017
edits
m (→移除非預期的空白(全形空白)) |
|||
| Line 149: | Line 149: | ||
=== COMPOSER 升級 PHPUNIT 版本 6 到 7 遇到問題 YOUR REQUIREMENTS COULD NOT BE RESOLVED TO AN INSTALLABLE SET OF PACKAGES === | === COMPOSER 升級 PHPUNIT 版本 6 到 7 遇到問題 YOUR REQUIREMENTS COULD NOT BE RESOLVED TO AN INSTALLABLE SET OF PACKAGES === | ||
[https://errerrors.blogspot.com/2018/04/resolve-use-composer-upgrade-phpunit-version-from-6-to-7.html 解決 Composer 升級 PHPUnit 版本 6 到 7 遇到問題 Your requirements could not be resolved to an installable set of packages] | [https://errerrors.blogspot.com/2018/04/resolve-use-composer-upgrade-phpunit-version-from-6-to-7.html 解決 Composer 升級 PHPUnit 版本 6 到 7 遇到問題 Your requirements could not be resolved to an installable set of packages] | ||
=== 停止無限迴圈 === | |||
[https://stackoverflow.com/questions/9468332/how-can-i-find-out-which-php-script-a-process-is-running-in-linux How can I find out which PHP script a process is running in Linux? - Stack Overflow] | |||
<pre> | |||
ps aux | grep php | |||
</pre> | |||
[https://superuser.com/questions/800207/how-do-i-find-and-kill-a-php-loop-process command line - How do I find and kill a php loop (process)? - Super User] | |||
<pre> | |||
pkill -9 php | |||
</pre> | |||
[https://www.geeksforgeeks.org/php-shell_exec-vs-exec-function/ PHP | shell_exec() vs exec() Function - GeeksforGeeks] | |||
Or input the {{kbd | key=kill}} command to stop the process if you have the permission. See details on [[Alternative_Linux_commands#Show_the_process_list_.26_kill_the_process]] | |||
=== Using PHP from the command line === | === Using PHP from the command line === | ||