vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Question about PHP and upgrading vb (https://vborg.vbsupport.ru/showthread.php?t=324253)

mchll9898 01-21-2017 05:37 AM

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?

MarkFL 01-21-2017 05:51 AM

According to the members area at vBcom:

Quote:

vBulletin 4.2.3 requires PHP 5.4.0+ and MySQL 4.1.0+.

mchll9898 01-21-2017 06:05 AM

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.

RichieBoy67 01-21-2017 01:37 PM

Quote:

Originally Posted by mchll9898 (Post 2581148)
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?

Paul M 01-21-2017 01:39 PM

Your host is wrong.

If you are using a control panel like cpanel, I believe its possible to set specific versions for a site.

mchll9898 01-21-2017 03:30 PM

Quote:

Originally Posted by Paul M (Post 2581159)
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?

https://vborg.vbsupport.ru/external/2017/01/11.png

Dave 01-21-2017 03:32 PM

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.


All times are GMT. The time now is 04:44 PM.

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.02437 seconds
  • Memory Usage 1,723KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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