shell-exec
shell_exec returns empty string
When I execute my command in PHP with shell_exec it always returns an empty string. I triedshell_exec(\'ls -l\'); and it works. I put the command as a 开发者_StackOverflow社区separate file and still s[详细]
2023-03-15 16:41 分类:问答Running 'git pull' using shell_exec in PHP not displaying error
I\'m creating a deployment script for github, written in PHP. I\'m using the shell_execcommand to run git pull which works fine.[详细]
2023-03-14 15:38 分类:问答php execute shell commands, dyld: Library not loaded: /usr/lib/libxml2.2.dylib
I am trying to use wkhtmltopdf executable to convert some html to pdf. I\'m just testing it out on my mac and if I run the executable via terminal it works fine. If I run it using php shell_exec I get[详细]
2023-03-13 17:27 分类:问答WordNet access using php
I tried to access the wordnet dictionary as mentioned in: Calling wordnet from php (Wordnet class or API for PHP).[详细]
2023-03-13 06:47 分类:问答php system() shell_exec() hangs the browser [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: Asynchronous shell exec in PHP[详细]
2023-03-10 07:41 分类:问答How to connect as linux root user in php [duplicate]
This question already has answers here: 开发者_StackOverflow中文版 Closed 11 years ago. Possible Duplicate:[详细]
2023-02-27 10:13 分类:问答php shell_exec() out put to get a text file
I\'m开发者_Go百科 trying to run rate -c 192.168.122.0/24 command on my Centos computer and write down the output of that command to the text file using shell_exec(\'rate -c 192.168.122.0/24\') command[详细]
2023-02-26 15:52 分类:问答PHP sudo in shell_exec
I want to execute a command as root with shell_exec. Now开发者_运维问答 I know this is dangerous, but believe me, you need to login with MOD_AUTH and have the right privilleges to come to this page. I[详细]
2023-02-25 21:34 分类:问答Git fetch from PHP file with shell_exec using private keys
I have built a php script that performs a git fetch on a specific folder: the exact command is : usr/bin/git --git-dir=/home/bathan/www/sync_test/repo3//.git --work-tree=/home/bathan/www/sync_test/[详细]
2023-02-22 21:46 分类:问答shell_exec return NULL
when i run the code shell_exec(\'ping -c 4 127.0.0.1\') it returns NULL, but when I run the same command (ping -c 4 127.0.0.1) in ssh, it returns perfectly...[详细]
2023-02-21 15:46 分类:问答