[ASTPPCOM-251] PHP7 Created: 31/Oct/17  Updated: 01/Apr/21  Resolved: 01/Apr/21

Status: Done
Project: ASTPP Community
Component/s: None
Affects Version/s: None
Fix Version/s: v4.0.2

Type: New Feature
Reporter: tridcatij Assignee: Samir Doshi
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Hello,
Does ASTPP support PHP7+? Is it safe to update from 5.6?



 Comments   
Comment by Samir Doshi [ 01/Nov/17 ]

Nope ASTPP does not work on PHP 7. It will be supported from ASTPP 4.0.

<https://mailtrack.io/> Sent with Mailtrack
<https://chrome.google.com/webstore/detail/mailtrack-for-gmail-inbox/ndnaehgpjlnokgebbaldlmgkapkpjkkb?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality>

<https://mailtrack.io/trace/link/ad1c36e9435bde72b7e074728e8be526962889a6?url=http%3A%2F%2F%2F&userId=1840855&signature=08a4f685e35256c2>Best

Regards

Samir Doshi
iNextrix Technologies Pvt. Ltd.
http://www.inextrix.com
<https://mailtrack.io/trace/link/8e7ee259cdf61cc77c16ac94cc35824d8700095f?url=http%3A%2F%2Fwww.inextrix.com&userId=1840855&signature=b9ff352c8cc3984c>

Disclaimer:
The information contained in this communication is confidential and may be
legally privileged. It is intended solely for the use of the individual or
entity to whom it is addressed and others authorized to receive it. If you
are not the intended recipient you are hereby notified that any disclosure,
copying, distribution or taking action in reliance of the contents of this
information is strictly prohibited and may be unlawful. Please notify the
sender immediately and destroy all copies of this message and any
attachments contained in it.

On Tue, Oct 31, 2017 at 8:17 PM, tridcatij <notifications@github.com> wrote:

> Hello,
> Does ASTPP support PHP7+? Is it safe to update from 5.6?
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://mailtrack.io/trace/link/ba58fe60fdd5d5d9179c2032c9973e4fba9dea73?url=https%3A%2F%2Fgithub.com%2FiNextrix%2FASTPP%2Fissues%2F251&userId=1840855&signature=9852c7fb182a854e>,
> or mute the thread
> <https://mailtrack.io/trace/link/cd71109ea8ed04ce20d319628dda8e37503db86c?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA6gcbLRBXVVebGS6PVZ1LQOv2kJ1Er0ks5sxzL8gaJpZM4QM3MV&userId=1840855&signature=0ca9657a34f92873>
> .
>

Comment by tridcatij [ 13/Nov/17 ]

Just migrated to 7.0.24.

For those who might be interested - you need to change mysql driver to the mysqli and make some changes in the CI files, like these one - StackOverflow

As well change all expressions like $var1->$var2 to the $var1->{$var2}
There are some in the astpp/application/models/db_model.php for sure.

For example:
$drp_list[$drp_value>$select_params[0]] = $drp_value->$select_params[1];
+$drp_list[$drp_value->{$select_params[0]}] = $drp_value->{$select_params[1]};

Comment by Samir Doshi [ 15/Nov/17 ]

Hi [~tridcatij]

that's great news.

It will be great if you contribute those modified files to community.

You can directly create merge request in github and we will merge it. but in case If you do not know much about merge request then you can send us code directly, we will plug it and release the code in open source.

Generated at Sat Feb 10 07:15:30 CET 2024 using Jira 8.13.3#813003-sha1:22ebedbb75c99b147c66f14e031dd8a2d214753a.