Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
3 registered members (isaac, Gizmo, M4TT), 41 guests, and 386 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Mark S
Mark S
Liverpool : England : UK
Posts: 4,704
Joined: July 2006
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 14
M4TT 11
Ruben 8
mmkk 4
FREAK 3
isaac 3
Latest Photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Previous Thread
Next Thread
Print Thread
php 7 implementation with new UBB? #257984
01/27/16 07:11 AM
01/27/16 07:11 AM
Joined: Sep 2009
Posts: 37
Northern Ireland, UK
Mark J.Cairns Offline OP
newbie
Mark J.Cairns  Offline OP
newbie
Joined: Sep 2009
Posts: 37
Northern Ireland, UK
Hi guys,

I see the ISPs are starting to really push folks into adopting php 7 with all the fancy Zend optimisation etc.

I did a text search in the Forums there to see if it had been mentioned before and don't see anything obvious.

I need to read through the latest updates and notes I know, but can I a just quickly ask if upcoming 7.6 will have php 7 implementation at all?



Mark J.Cairns
Producer, Airwolf Themes CD soundtracks

AIRWOLF WEBSITE http://airwolfthemes.com/
OFFICIAL AIRWOLF THEMES VIDEOS http://youtube.com/markjcairns
Airwolf on FACEBOOK http://facebook.com/airwolf.themes
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: php 7 implementation with new UBB? [Re: Mark J.Cairns] #257985
01/27/16 10:18 AM
01/27/16 10:18 AM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Online tapedshut
UBB.threads Developer
Gizmo  Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
There is a thread here (posted at the end of December), PHP7 just came out at the beginning of December; if you take in to account the PHP7 Changelog I wouldn't even really consider running this on a production server until a lot of testing has been done against it; a lot of hosts are just now rolling out PHP 5.6.

PHP7.0 - Released 03 Dec 2015
PHP7.0.1 - Released 17 Dec 2015
PHP 7.0.2 - Released 07 Jan 2016

As UBB.threads 7.6.0 is just waiting on several updates, and PHP7 came out at the beginning of December, no testing has been done (at all) to test compatability; one should assume it won't work however until users have had the time to test on a PHP7 system.

At this point, we're developing on PHP 5.6.17 (my VPS), 5.4.45 (UBBDev), and I believe Isaac's server is 5.6 with the option of 7.0 through his provider. The minimum PHP requirement for 7.6.0 is PHP 5.3


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: php 7 implementation with new UBB? [Re: Mark J.Cairns] #257986
01/27/16 02:51 PM
01/27/16 02:51 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Online splat
UBB.threads Developer
isaac  Online Splat
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
Just like you, I too, am extremely excited to work with PHP 7.x. I've watched a lot of its progression over the years, and have read many of the recent change logs and feature lists they mention. Those changes really have me excited to get my hands on it.

Through my main pro hosting accounts with Bluehost, I'm currently on PHP 5.6.17, with no option to run anything more current on those servers. PHP 7.x is only available to me on my beta build computer that is located inside my own house (not a server).

Bluehost just made 5.6 available, but clearly states as a "beta offering" on their services -- about 2 months ago. IIRC. Bluehost skipped right over 5.5 and they don't give me the option to run the freshest, and "unproven in the wild" versions, as you may have with your hosting company. I am guessing that most other providers of Bluehost's size, are doing the same.

Again, I am extremely excited for PHP7 and really looking forward to having it available to me and every other website I manage and also browse to, but there is no way in hell that I would want it automatically pushed on my server. Especially since the two (60%) of the main softwares I depend on(Codex Gallery 2.3, and ReviewPost 5.2) are at END OF LIFE several years ago. So any showstopping bugs that come up in those 3rd party softwares, will need to be corrected by me. and me alone.

As mentioned above by James, UBBT is planned to be tested on PHP7 at some point soon, and the results will be posted and shared with everyone here.

If your webhost does make PHP7 available to you right now, and you run your main website using it today, please please please post a reply and share your findings with everyone else here. That would be extremely helpful. At this time, there are just a small handful of people working on UBBT760, and most of the final major stuff has been on my plate for the past three months. Probably the most busiest months I've had in a while.

Re: php 7 implementation with new UBB? [Re: Mark J.Cairns] #258482
06/09/16 02:34 PM
06/09/16 02:34 PM
Joined: Aug 2007
Posts: 7
Netherlands
Slaz Offline
stranger
Slaz  Offline
stranger
Joined: Aug 2007
Posts: 7
Netherlands
I tested the latest version of UBB (7.6.0) on PHP7 (7.0.6) since I just bought a new license this week and my hosting company gives the option to switch between 5.6 and 7.0 on the go (they also removed versions that go EOL soon such as 5.3 and 5.4). They actually encourage their customers to try 7.0 and if possible, adapt scripts for the future that eventually comes. My own custom CMS merely needed to have some mysql connections adapted to mysqli since PHP7 fully removed the original mysql extension.

The UBB Install script couldn't connect to the database, probably due to similar reasons? I had errors off when I tried, so there weren't any details other than the parsing coming to a halt as soon as the script tried to make a database connection.

After installing succesfully on PHP 5.6, I switched back to 7.0 to see if the installed UBB works. No page loaded with ubbthreads.php, and all (like the forum list, portal, etc) returned errors such as these:

Code
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP;
Smarty has a deprecated constructor in /sites/www/forums/libs/smarty/Smarty.class.php on line 64
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP;
bbcode has a deprecated constructor in /sites/www/forums/libs/bbcode.inc.php on line 4
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP;
mailer has a deprecated constructor in /sites/www/forums/libs/mailer.inc.php on line 6
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /sites/www/forums/libs/mysql.inc.php:20
Stack trace: #0 /sites/www/forums/libs/ubbthreads.inc.php(88): sql->connect() #1 /sites/www/forums/ubbthreads.php(40): require_once('/sites/...') #2 {main} thrown in /sites/www/forums/libs/mysql.inc.php on line 20


Seems like UBB has several incompatible contructors and database calls. I will likely run PHP 5.6 for years and so will most others, but I like how PHP finally gives in and makes things more strict to actually prevent incompatibility issues in the future. It's kind of similar as to how strict XML originally tried to remedy the 'wild' markup of HTML that was all over the place on different software.

Re: php 7 implementation with new UBB? [Re: Mark J.Cairns] #258483
06/09/16 03:09 PM
06/09/16 03:09 PM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Online tapedshut
UBB.threads Developer
Gizmo  Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
UBB.threads v7.6.0 isn't publicly accessible, as it's currently in Alpha Testing; I assume that you meant v7.5.9.

Until PHP7 becomes more widely spread, it's on the back burner, as we're currently working on completely rewriting the overall base code; we've had some internal discussion about various database driver (MySQL/MySQLi/PDO), but it's not a necessity currently with where development is right now (things like default settings for servers of 2016 vs 2000, mobile compatibility, HTML5, Suhosin compatibility [a PHP security module], and numerous other upcoming changes [which can be viewed here and at UBBDev] are what we've been attempting to tackle since the last release [7.5.9]).

We plan to look into PHP7 compatibility at a later junction however, but it'd be a release after v7.6.0 is out the door.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: php 7 implementation with new UBB? [Re: Mark J.Cairns] #258484
06/09/16 03:20 PM
06/09/16 03:20 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Online splat
UBB.threads Developer
isaac  Online Splat
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
UBB.threads v7 is not compatible with php7.

PHP7 removed the mysql db connectors. UBB.threads database connectors needs to be rewritten to support mysqli or PDO. It is a major job to do, since the format sequence required for mysqli is much more strict than the sequence used in UBBT.threads v7. Completely unrelated to UBB.threads; This is true for many other legacy scripts.

Since UBB.threads is compatible with PHP5 series (5.1 to the current 5.6), we're currently advising that you continue to use one of these versions of php.

php 7 was released December 3rd, 2015, and it is still quite new (6 months old). It includes an incredible amount of new features, but also introduces many issues, some of which are compatibility issues do to the removal of key features.

http://devzone.zend.com/4693/php-7-glance/

PHP 7.0 timetable - https://wiki.php.net/todo/php70#timetable
PHP 7.1 timetable - https://wiki.php.net/todo/php71#timetable

I am aware of what needs to be done to UBB.threads for it to be compatible with PHP7.x ( http://php.net/manual/en/migration70.php ), and will begin working on these known issues after UBB.threads 7.6.0 is out the door and in to your hands.

Re: php 7 implementation with new UBB? [Re: Slaz] #258485
06/09/16 03:25 PM
06/09/16 03:25 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Online splat
UBB.threads Developer
isaac  Online Splat
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
Originally Posted by Slaz
Seems like UBB has several incompatible contructors and database calls. I will likely run PHP 5.6 for years and so will most others, but I like how PHP finally gives in and makes things more strict to actually prevent incompatibility issues in the future. It's kind of similar as to how strict XML originally tried to remedy the 'wild' markup of HTML that was all over the place on different software.


I completely agree with you!

I foresee UBB.threads requiring many hours of work to become fully compatible with php7. The end result will be worth it.

Re: php 7 implementation with new UBB? [Re: Mark J.Cairns] #258486
06/10/16 08:25 AM
06/10/16 08:25 AM
Joined: Aug 2007
Posts: 7
Netherlands
Slaz Offline
stranger
Slaz  Offline
stranger
Joined: Aug 2007
Posts: 7
Netherlands
Oops, I indeed meant to say UBB version 7.5.9, my mind somehow mixed it up with PHP's 7.0.6 version number. Thanks for pointing that out Gizmo! wink

And I agree with you id242, PHP7 sure is a neat upgrade on the technical side that can theoretically fix incompatibility issues for decades, but the other things you mentioned actually improve the experience for the forum admins and users, which should be priority for software like UBB.

That said, I'm glad that I finally bought UBB for one of my new sites. I registered here almost a decade ago looking at the options back then (I think this was still from social strata?), but kept using phpBB due to, let's say, a student's limited resources. I haven't had time to set up my forum fully, but I like the exclusive features so far. I really see some handy dandy stuff coming out of Content Islands and the integrated gallery. Keep up the good work! wink

Re: php 7 implementation with new UBB? [Re: Mark J.Cairns] #258487
06/10/16 09:26 AM
06/10/16 09:26 AM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Online tapedshut
UBB.threads Developer
Gizmo  Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
UBB.threads, UBB.Classic, and UBB.Eve where all forum options which where originally written by Madrona Park, which has had several names since they where formed (Madrona Park, Infopop, Groupee, Social Strata, and now Hoop.la). It was sold to Rick Baker in exchange for his stock in the company, then sold to UBB.Systems. I'm still here, kicking the tires.

Glad to have you aboard smile


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: php 7 implementation with new UBB? [Re: Mark J.Cairns] #258488
06/10/16 09:36 AM
06/10/16 09:36 AM
Joined: Feb 2007
Posts: 1,318
Pennsylvania
JAISP Offline
veteran
JAISP  Offline
veteran
Joined: Feb 2007
Posts: 1,318
Pennsylvania
Is Rick still around? I know I had been away for a little while and remember consulting with Rick many years ago over a few things.

Re: php 7 implementation with new UBB? [Re: Mark J.Cairns] #258489
06/10/16 03:51 PM
06/10/16 03:51 PM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Online tapedshut
UBB.threads Developer
Gizmo  Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
I haven't talked with him in years; I talk with David (Nav) on Facebook on occasion (Groupee still hosts UBBDev).


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: php 7 implementation with new UBB? [Re: Mark J.Cairns] #258490
06/10/16 04:45 PM
06/10/16 04:45 PM
Joined: Feb 2007
Posts: 1,318
Pennsylvania
JAISP Offline
veteran
JAISP  Offline
veteran
Joined: Feb 2007
Posts: 1,318
Pennsylvania
Dave D? I remember when he was a coder for UBB a long time ago. Way back when I was creating add-ons.

Re: php 7 implementation with new UBB? [Re: JAISP] #258491
06/11/16 01:12 AM
06/11/16 01:12 AM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Online tapedshut
UBB.threads Developer
Gizmo  Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Originally Posted by JAISP
Dave D? I remember when he was a coder for UBB a long time ago. Way back when I was creating add-ons.

Yeah, tha'td be him


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: php 7 implementation with new UBB? [Re: Mark J.Cairns] #260267
06/04/17 03:11 PM
06/04/17 03:11 PM
Joined: Oct 2007
Posts: 215
Baldeagle Offline
enthusiast
Baldeagle  Offline
enthusiast
Joined: Oct 2007
Posts: 215
Just for reference purposes, I just updated a server to php71, and Joomla and Wordpress run fine on it. The speed of loading is dramatically improved. Fortunately, UBBThreads is on a different server, so that can wait until the work is done.


The Stovebolt Geek
http://www.stovebolt.com/ubbthreads/ubbthreads.php

UBBThreads 7.6.0
Web Server Apache/2.4.25
PHP Version 5.6.30
MySQL Version 5.5.55-log
Database Size 1.95 GB

Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Users Unable to Upload Avatar [Not a Bug]
by M4TT. 12/13/17 08:51 AM
Shout Box Sound Effect
by M4TT. 11/29/17 08:28 PM
Ad island
by TGCsanderson. 11/25/17 06:41 PM
Taking to long to connect to DB
by AstroCat. 11/24/17 12:34 PM
Forum Statistics
Forums36
Topics35,015
Posts190,544
Members12,045
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Snapshot build 20171106)