shell_exec() exec() and system() not working in php 5.6 openbsd 6.4

2019-07-09 Thread mansoor
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.

$output";
?>

Here is  link

 
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



Re: shell_exec() exec() and system() not working in php 5.6 openbsd 6.4

2019-07-10 Thread mansoor
Thanks a lot this was the problem.



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



Apache 2.4 not running php OpenBSD 6.4

2019-07-11 Thread mansoor
Hi,
I hope you guys are doing great.

I am using OpenBSD 6.4, apache-httpd-2.4.35, php version 5.6.
I have disabled default httpd of OpenBSD, now apache2 is showing plain php
code in browser it doesn't process php at all.

I couldn't find solution to this problem on stackOverflow (or any other site
on internet).
Please help me if anyone know about this problem. 
Thanks.




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