Thread Rating:
  • 2 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP7 and WebERP
03-29-2016, 05:31 PM,
#4
RE: PHP7 and WebERP
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

Reply


Messages In This Thread
PHP7 and WebERP - by Schoolux - 03-29-2016, 09:13 AM
RE: PHP7 and WebERP - by Exsonqu_Qu - 03-29-2016, 11:24 AM
RE: PHP7 and WebERP - by Schoolux - 03-29-2016, 02:12 PM
RE: PHP7 and WebERP - by TimSchofield - 03-29-2016, 05:31 PM
RE: PHP7 and WebERP - by Schoolux - 03-30-2016, 06:06 AM
RE: PHP7 and WebERP - by TimSchofield - 03-30-2016, 06:51 AM
RE: PHP7 and WebERP - by Schoolux - 03-30-2016, 07:21 AM
RE: PHP7 and WebERP - by TimSchofield - 03-30-2016, 07:40 AM
RE: PHP7 and WebERP - by Schoolux - 03-30-2016, 07:59 AM
RE: PHP7 and WebERP - by TimSchofield - 04-22-2016, 08:43 PM
RE: PHP7 and WebERP - by TimSchofield - 05-03-2016, 06:09 PM
RE: PHP7 and WebERP - by phil - 05-04-2016, 08:26 AM
RE: PHP7 and WebERP - by TimSchofield - 05-07-2016, 06:21 PM
RE: PHP7 and WebERP - by TimSchofield - 09-06-2016, 06:26 AM
RE: PHP7 and WebERP - by tharpchuck - 10-19-2016, 07:19 AM
RE: PHP7 and WebERP - by TimSchofield - 12-01-2016, 10:14 PM
RE: PHP7 and WebERP - by TurboPT - 12-03-2016, 09:11 AM
RE: PHP7 and WebERP - by TimSchofield - 12-03-2016, 06:17 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)