Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Invoking auto-update causes php error after upgrade.

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    5 Posts 2 Posters 1.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • w0wW
      w0w
      last edited by

      Current version: 2.1-DEVELOPMENT
            Built On: Fri Nov 25 14:30:42 EST 2011
          New version: Mon May 28 13:55:14 EDT 2012

      After upgrading and reboot I got this (see attach).
      I've lost 2hrs of my life getting it back to work  8), because i am not freebsd guru, it took time :)
      DSC00806.JPG
      DSC00806.JPG_thumb

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        If you go to the shell, what does "php -v" show?

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • w0wW
          w0w
          last edited by

          This is before update:
          php -v
          PHP 5.2.17 with Suhosin-Patch 0.9.7 (cgi-fcgi) (built: Sep 29 2011 13:17:40)
          Copyright © 1997-2009 The PHP Group
          Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
              with Suhosin v0.9.27, Copyright (c) 2007, by SektionEins GmbH
          I am using http://files.pfsense.org/jimp/ipv6/pfSense-2.1-DEVELOPMENT-i386.iso.gz with modification made by me - I am running foo2zjs package  (CUPS) and I did gitsync in January 2012 (master branch)
          Right after upgrade, see screenshot
          I've found also that there were wrong settings on firmware update page, stable branch selected, gitsync after upgrade also, but with master branch. I think this was the culprit.
          Anyway I'll try to play with it in virtual machine and let you know

          php.jpg
          php.jpg_thumb

          1 Reply Last reply Reply Quote 0
          • w0wW
            w0w
            last edited by

            If i select freebsd 8.3 based -2.1 DEVELOPMENT branch then update is OK.
            So problem is solved.

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              If you were on 2.1, and you ended up with PHP 5.2.x, then somehow you downgraded yourself to 2.0.x.

              Once you go up to 2.1, you can't back down to 2.0.x or you will have all kinds of problems, including what you saw (where it's trying to load PHP extensions from PHP 5.3, which don't work on PHP 5.2)

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.