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 -> ionCube PHP Encoder

Dosen't encoder support PHP 7.0 ?

Author Message
Fandratec



Joined: 07 Aug 2013
Posts: 10

PostPosted: Tue Jun 05, 2018 8:21 am    Post subject: Dosen't encoder support PHP 7.0 ? Reply with quote

Encoder: 10.2
Source code: PHP 7.0
Web server: PHP 7.0 + Loader v10.2.1

I can't find "PHP 7.0" in "Project Settings > Quickstart > PHP source language".
I tried "PHP 7.1", but encoded file can't run on server.
I tried "PHP 5.6 & 7.1", but I got "Parse error". (I used new feature in PHP 7.0)

How to encode PHP 7.0 source code and running on web server with PHP 7.0 ?
Back to top
View user's profile Send private message
alastair



Joined: 23 Feb 2010
Posts: 370

PostPosted: Thu Jun 07, 2018 8:25 am    Post subject: Reply with quote

Hi,

It is not possible to encode source code using PHP 7.0 language features and run the code on PHP 7.0. The only encoded files that will run on PHP 7.0 are 5.6-encoded ones.

So you will either need to upgrade the target machine to PHP 7.1. or remove the 7.0 language features. Probably the first is the better option as PHP 7.0 is already in "security-support" only, with its end of life being on 3rd December this year. People have also advocated that developers go straight to 7.1 such as in the blog article at https://www.tomasvotruba.cz/blog/2017/06/05/go-php-71/
_________________
Alastair

ionCube
Back to top
View user's profile Send private message
Fandratec



Joined: 07 Aug 2013
Posts: 10

PostPosted: Thu Jun 07, 2018 9:20 am    Post subject: Reply with quote

I understand, thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ionCube Forum Index -> ionCube PHP Encoder 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