PHP Classes

Error running Script

Recommend this page to a friend!

      PHP Termux API  >  All threads  >  Error running Script  >  (Un) Subscribe thread alerts  
Subject:Error running Script
Summary:shell_exec() has been disabled for security reasons
Messages:2
Author:Rajesh Tailor
Date:2017-03-15 16:07:27
 

  1. Error running Script   Reply   Report abuse  
Picture of Rajesh Tailor Rajesh Tailor - 2017-03-15 16:07:27
While running the code I am getting this msg...


shell_exec() has been disabled for security reasons

What we can do in this case, if my webserver has disabled shell_exec()

  2. Re: Error running Script   Reply   Report abuse  
Picture of Luis Martinez Ulloa Luis Martinez Ulloa - 2017-03-15 19:00:06 - In reply to message 1 from Rajesh Tailor
Hello Rajesh:
The class and the scripts using the class are intended to run into the Android phone/tablet/device, inside Termux.

You must upload the files on a directory (/sdcard/php as example) and run from Termux terminal:

cd /sdcard/php
php [options] [yourfile.php]

Please read the blog entry for the class, and comment your results.

Thanks!