03-29-2016, 09:13 AM,
|
|
Schoolux
Member
|
Posts: 8
Threads: 1
Joined: Mar 2016
|
|
PHP7 and WebERP
Hi all good folks at WebERP...
I was wondering if there are any plans to support PHP7 and if so, about when?
Best regards
Atle
|
|
03-29-2016, 02:12 PM,
|
|
Schoolux
Member
|
Posts: 8
Threads: 1
Joined: Mar 2016
|
|
RE: PHP7 and WebERP
(03-29-2016, 11:24 AM)Exsonqu_Qu Wrote: Hi, Atle,
Per my understanding, the main issue for weberp running in php7 is the initiate function of those classes. But in php 7 , this function definition will be issued deprecated messages. So I think current version still workable in php 7.
Thanks and best regards!
Exson
Ok... Thanks for the quick reply. I shall test it with xampp 7.04 one day fairly soon then.
If anyone happens to bump into this thread and have a clear picture of WebERP vs PHP7, please let me know.
Thanks again
Atle
|
|
03-30-2016, 06:06 AM,
|
|
Schoolux
Member
|
Posts: 8
Threads: 1
Joined: Mar 2016
|
|
RE: PHP7 and WebERP
(03-29-2016, 05:31 PM)falkoner Wrote: I have been using PHP7 on my development machines for a while now. The issues are fairly small. Mysql support has now been removed and you must use mysqli instead (though you should be doing that anyway as the mysql extension hasn't been maintained for years).
As Exson said the constructors for objects can no longer be the class name, and must be called __counstruct() instead.
There was a problem in reportwriter/WriteReport.inc with the line
if ($ThisMonth == 04 or $ThisMonth == 06 or $ThisMonth == 09 or $ThisMonth == 11) {
which PHP7 didn't like and had to be changed to
if ($ThisMonth == '04' or $ThisMonth == '06' or $ThisMonth == '09' or $ThisMonth == '11') {
Other than that it went fairly smoothly, and there are definite speed improvements.
Thanks
Tim
So would you say its not so much work to be done before WebERP would be "PHP7 ready"? I am asking this as I see WebERP in some of my projects that i might get back to later;-)
I think a 100% speed improvement might be a reason for some updates here and there?
Thanks for your answer.
atle
|
|
03-30-2016, 07:21 AM,
|
|
Schoolux
Member
|
Posts: 8
Threads: 1
Joined: Mar 2016
|
|
RE: PHP7 and WebERP
PHP7 is coming and its going to be the industrial standard. Somehow its here
Lets enjoy and share
:-)
Atle
|
|
03-30-2016, 07:59 AM,
|
|
Schoolux
Member
|
Posts: 8
Threads: 1
Joined: Mar 2016
|
|
RE: PHP7 and WebERP
Well... I do not know how to use webERP or PHP7. But I do know how to stir up a good cause trough a user forum. I have my goals and hopes.
I see a merging overall picture that comes true if especially webERP as its free, open source and also great, thrives.
Open Source attracts honest and real people...
Nuff said?
Atle
|
|
|