日本語のみで絞り込む
2021/6/19 -I think that the issue is not that you not get the output of the executed command, but which fails to find mysql . Using exec you can get ...
2024/2/6 -Running a simple command like ls -l works correctly, I can receive that output of that in PHP but cant for mysql for some reason. Edit: Figured ...
On Windows, if shell_exec does NOT return the result you expected and the PC is on an enterprise network, set the Apache service (or wampapache) to run under ...
2009/12/6 -When I run the same command from PHP script (using backticks or shell_exec) it does not do anything and returns no output to the PHP script.
2020/7/14 -Hello, I can't get exec() working with a binary, but it works with whoami, the binary also outputs on a plain linux machine.
2021/11/5 -Checking the php.ini file to make sure Shell_exec wasn't in Disable_functions="". Changing the FastCGI Protocol configuration from "Named pipe" ...
2026/1/12 -The shell_exec() function passes strings directly to the system shell. This creates three major risks. First, command injection. If user input ...
2010/9/7 -Re: PHP Exec Not running, but command works ok! Use the stat command on the input file and/or the directory where the output file will be ...
2018/6/22 -This behavior can be changed by adding “ 2>&1 ” to your shell command. The additional characters inform the shell to pipe all responses back to ...
2007/7/27 -When you look at the output of the exec call, it isn't the same as what you would see on the screen when typing the command. PHP returns you ...