Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 03-01-2016, 08:07 AM
kartik786 kartik786 is offline
 
Join Date: Aug 2005
Location: India
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 03-04-2016, 07:53 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Благодарность от:
kartik786
  #3  
Old 03-09-2016, 10:11 AM
kartik786 kartik786 is offline
 
Join Date: Aug 2005
Location: India
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by squidsk View Post
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?
Reply With Quote
  #4  
Old 03-09-2016, 06:07 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
2 благодарности(ей) от:
MarkFL, RichieBoy67
  #5  
Old 03-16-2016, 07:24 AM
kartik786 kartik786 is offline
 
Join Date: Aug 2005
Location: India
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by squidsk View Post
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?
Reply With Quote
  #6  
Old 03-16-2016, 11:48 AM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

3.8.9 is compatible with php5. 5 and newer.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04046 seconds
  • Memory Usage 2,212KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (3)post_thanks_box_bit
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete