radius
Joined: 22 Feb 2019 Posts: 2
|
Posted: Fri Feb 22, 2019 11:46 am Post subject: make_license for linux. Try to run with PHP exec() |
|
|
I try to run make_license on the linux server of my hosting provider (shared hosting). make_license works well with SSH conosle. But when I try to execute make_license in my PHP code:
Code: |
$passPhrase = "ThisIsAPassphrase";
$outputFile = tempnam("/tmp", "lic_");
$execString = "public_html/make_license --passphrase " . $passPhrase . " -o " . $outputFile;
exec($execString, $out, $retcode);
var_dump($retcode);
|
I get an error "Bad system call", retcode 159.
I asked my hosting provider about this issue. My provider claims that I need to contact the developer, because the error is contained in the binary file make_license.
Can you help me with my problem? I want to automate the generation of the license file, but I cannot do it.
Technical info:
IONcube encoder PRO 10.2.0
Linux 4.9.124
Web server Apache/2.4.7
Interface between Web server and PHP: cgi-fcgi
PHP 7.1.26 |
|