vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   How to upgrade to latest php version? (https://vborg.vbsupport.ru/showthread.php?t=321968)

kartik786 03-01-2016 08:07 AM

How to upgrade to latest php version?
 
Hi,

I'm using vbulletin 3.8.x and my php version as well as mysql version is outdated. I recently read that vbulletin.org updated their php version from 5.2 to 5.6

I want to know how I can go about doing that? What are the changes I'd require to do.

Please note that I'm not upgrading my vbulletin version, just the php version and mysql

squidsk 03-04-2016 07:53 PM

Firstly depending on what version 3.8.x you're running you may or may not be able to actually run your forum on php 5.6. I believe you'd need to be running 3.8.8 for php 5.4, and 3.8.9 for php 5.5. According to the vb faq http://www.vbulletin.com/en/faq/ 3.8.9 would support php 5.6. If you are running 3.8.7 or earlier you won't be able to upgrade your php version without having to make changes to the core files to make them compatible with the new php version.

kartik786 03-09-2016 10:11 AM

Quote:

Originally Posted by squidsk (Post 2566541)
Firstly depending on what version 3.8.x you're running you may or may not be able to actually run your forum on php 5.6. I believe you'd need to be running 3.8.8 for php 5.4, and 3.8.9 for php 5.5. According to the vb faq http://www.vbulletin.com/en/faq/ 3.8.9 would support php 5.6. If you are running 3.8.7 or earlier you won't be able to upgrade your php version without having to make changes to the core files to make them compatible with the new php version.

Thank you for helping me out :)

I'm running on 3.8.3 but my forum is heavily customized theme. How do I upgrade core files without creating an issue with the template?

squidsk 03-09-2016 06:07 PM

Your best bet to to upgrade to vb3.8.9 and redo whatever changes you need to make your customized theme work properly, there should be relatively few of those since you're doing minor version upgrades and not a major version upgrades (i.e. 3.8.3 to 3.8.9 not 3.7.x. (or older) to 3.8.9). 3.8.3 is very outdated and there have been a number of security issues patches since 3.8.3 was released so running a version that old is a bad idea and certainly the relatively minor inconvenience of having to do some template modifications is far outweighed by having the most patched version 3.8.x possible.

You also don't want to have to do core file edits on your own as those are way more prone to errors than fixing templates.

kartik786 03-16-2016 07:24 AM

Quote:

Originally Posted by squidsk (Post 2566885)
Your best bet to to upgrade to vb3.8.9 and redo whatever changes you need to make your customized theme work properly, there should be relatively few of those since you're doing minor version upgrades and not a major version upgrades (i.e. 3.8.3 to 3.8.9 not 3.7.x. (or older) to 3.8.9). 3.8.3 is very outdated and there have been a number of security issues patches since 3.8.3 was released so running a version that old is a bad idea and certainly the relatively minor inconvenience of having to do some template modifications is far outweighed by having the most patched version 3.8.x possible.

You also don't want to have to do core file edits on your own as those are way more prone to errors than fixing templates.

Thanks buddy. I appreciate your help.

By upgrading to a 3.8.9, that stlll doesn't let me upgrade to the latest php version does it? My concern is not a vbulletin upgrade but a php upgrade. I want to get on to the latest php version and that's the reason I want to upgrade vbulletin. How can I achieve that without major work?

squidsk 03-16-2016 11:48 AM

3.8.9 is compatible with php5. 5 and newer.


All times are GMT. The time now is 07:12 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01574 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete