ionCube Logo
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


 
Post new topic   Reply to topic    ionCube Forum Index -> Programming

make_license for linux. Try to run with PHP exec()

Author Message
radius



Joined: 22 Feb 2019
Posts: 2

PostPosted: Fri Feb 22, 2019 11:46 am    Post subject: make_license for linux. Try to run with PHP exec() Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ionCube Forum Index -> Programming All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum