Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-21-2017, 05:37 AM
mchll9898 mchll9898 is offline
 
Join Date: Dec 2009
Location: New England
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Question about PHP and upgrading vb

It has been a very long time since I have updated my forum and I'm always scared when I go to update it, I'm going to break it.

I am currently running vb 4.2.0 patch level 2 and want to upgrade to the most current version vb 4.2.3 patch level 2.

I have checked my host and it is currently running PHP 5.6.

When I go into my admin cp and go to maintenance > "View PHP info" it says it is on PHP version 5.2.17.

Am I safe to upgrade to vb 4.2.3?
Reply With Quote
  #2  
Old 01-21-2017, 05:51 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

According to the members area at vBcom:

Quote:
vBulletin 4.2.3 requires PHP 5.4.0+ and MySQL 4.1.0+.
Reply With Quote
  #3  
Old 01-21-2017, 06:05 AM
mchll9898 mchll9898 is offline
 
Join Date: Dec 2009
Location: New England
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What I'm confused about is how my host says it is running PHP 5.6 but when I check the PHP info in vbulletin admin cp it says it is on version 5.2.17.
Reply With Quote
  #4  
Old 01-21-2017, 01:37 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mchll9898 View Post
What I'm confused about is how my host says it is running PHP 5.6 but when I check the PHP info in vbulletin admin cp it says it is on version 5.2.17.
Your server most likely has multiple versions of php running. You should be able to select the version you want to run in your server cpanel or you can run commands using root access if you have it.

Do you have root access?
Reply With Quote
  #5  
Old 01-21-2017, 01:39 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your host is wrong.

If you are using a control panel like cpanel, I believe its possible to set specific versions for a site.
Reply With Quote
  #6  
Old 01-21-2017, 03:30 PM
mchll9898 mchll9898 is offline
 
Join Date: Dec 2009
Location: New England
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
Your host is wrong.

If you are using a control panel like cpanel, I believe its possible to set specific versions for a site.
I have bluehost. Under PHPconfig in the cpanel I am able to select which php version I want. It is currently set to PHP 5.6 (screen shot below). Please forgive me, I really don't know too much about the technical side of things. So I don't understand why my vbulletin is currently using PHP 5.2.17 (according to "View PHP info" in vb admincp) and not PHP 5.6. And I am concerned about upgrading vbulletin to 4.2.3, which requires PHP 5.4 or higher, and it being stuck at PHP 5.2.17 and the updated files not working because it isn't compatible.

If I went ahead and upgraded vbulletin to 4.2.3 would it use PHP 5.6? or would it stay at PHP 5.2.17?

Reply With Quote
  #7  
Old 01-21-2017, 03:32 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then you should email or call your host and ask why PHP 5.2 is used while you set it to PHP 5.6.
You can tell them that the phpinfo page is still showing that PHP 5.2 is used.
Reply With Quote
Reply


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 02: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.03787 seconds
  • Memory Usage 2,214KB
  • Queries Executed 11 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete