Previous Thread
Next Thread
Print Thread
Hop To
Joined: Sep 2009
Posts: 36
newbie
newbie
Joined: Sep 2009
Posts: 36
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 https://airwolfthemes.com/mobile/
OFFICIAL AIRWOLF THEMES VIDEOS https://www.youtube.com/airwolfthemes
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Aug 2007
Posts: 12
Stranger
Stranger
Joined: Aug 2007
Posts: 12
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.

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Aug 2007
Posts: 12
Stranger
Stranger
Joined: Aug 2007
Posts: 12
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

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Joined: Feb 2007
Posts: 1,294
Likes: 2
Veteran
Veteran
Joined: Feb 2007
Posts: 1,294
Likes: 2
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.

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Joined: Feb 2007
Posts: 1,294
Likes: 2
Veteran
Veteran
Joined: Feb 2007
Posts: 1,294
Likes: 2
Dave D? I remember when he was a coder for UBB a long time ago. Way back when I was creating add-ons.

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Joined: Oct 2007
Posts: 354
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 354
Likes: 8
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
https://www.stovebolt.com/ubbthreads/ubbthreads.php

Server Information
UBB.threads Version 7.7.5
Release 20201027
Server OS Linux
Server Load 0.16
Web Server Apache/2.4.6
PHP Version 7.4.33
MYSQL Version 5.7.43
Database Size 1.85 GB

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Ruben), 476 guests, and 111 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)