Announcement

Collapse
No announcement yet.

VB 5.3.4 and PHP 7.2.2 with Opcache

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • VB 5.3.4 and PHP 7.2.2 with Opcache

    I can't get 5.3.4 and php 7.2.2 with opcache to work. The info.php page shows but the site just kicks a 500 error. Not even the admincp works. I have tried disabling all hooks through the config file. What else do I need to check?

    Thanks,
    William
    Christian Forums
    Reformed Forums
    Christian Bible Study
    Christian Forums
    Baptist forum
    Online Bible Study

  • #2
    A 500 Server error is a generic error. It means that something went wrong somewhere and the server has decided it cannot show the page. It does not provide any diagnostic information that would help us solve issues.

    What is the Opcode caching system that you are using? Did you clear the cache after upgrading vBulletin and PHP? An Opcode cache like Memcached works by compiling the PHP code into an intermediary bytecode format that makes processing quicker. When upgrades are performed on either vBulletin or PHP, this bytecode will be out of date and can introduce processing errors.

    What is the error that is being logged in the PHP error log?
    Last edited by Wayne Luke; Thu 8th Feb '18, 9:23am.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud customization and demonstration site.
    vBulletin 5 Documentation - Updated every Friday. Report issues here.
    vBulletin 5 API - Full / Mobile
    Vote for your most annoying bugs.
    I am not currently available for vB Messenger Chats.

    Comment


    • #3
      Click image for larger version

Name:	Screenshot_5.png
Views:	1
Size:	60.9 KB
ID:	4386096

      I did some testing. In vBulletin 5.3.3 using PHP 7.2.2, I received notices of problems with some variables. In 5.3.4 PL1, I don't have any issues. It may be an issue with your particular opcode cache though.


      Translations provided by Google.

      Wayne Luke
      The Rabid Badger - a vBulletin Cloud customization and demonstration site.
      vBulletin 5 Documentation - Updated every Friday. Report issues here.
      vBulletin 5 API - Full / Mobile
      Vote for your most annoying bugs.
      I am not currently available for vB Messenger Chats.

      Comment


      • #4
        Found the problem. Memcached has to be disabled in config file to work with PHP 7.2.2 and Opcache 7.2.2.

        Everything is working now.

        Thanks,
        William
        Christian Forums
        Reformed Forums
        Christian Bible Study
        Christian Forums
        Baptist forum
        Online Bible Study

        Comment


        • Kevin Sours
          Kevin Sours commented
          Editing a comment
          The sounds like a PHP bug. Enabling Opcache shouldn't change the behavior of the PHP code.
      Working...
      X