Hi,
I am using OpenBSD 6.4 and php version 5.6, I am trying to execute shell
commands through php file using exec, shell_exec or system (tried all of
them) but none is working.

Here is a sample code in my index.php file.

<?php
$output = shell_exec('ls -l');
echo "<pre>$output</pre>";
?>

Here is  link
<https://stackoverflow.com/questions/56933389/run-exec-system-etc-command-using-php-openbsd>
 
to my stackoverflow question.

I am stuck in this problem for about a week now.
Please help me if anyone know about this.
Thanks



--
Sent from: http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html

Reply via email to