Menu ▾ ▴

#59 Support for PHP7+

2.2.0
closed
nobody
None
1
2019-03-11
2018-11-21
Beejay41
No

I'm using php 7.2, which removes the mysql_ functions (removed in 7.0), so I can't even run the install.

Just wanted to evaluate the app.
Regards,
Brian

Related

Feature Requests: #59

Discussion

  • Ian Wright

    Ian Wright - 2018-12-06

    It's quite a big chunk of work...

    If anybody else wants this then please add a note here to push me in to doing it a bit faster - I will do it, and try to do it fairly soon, but don't want to promise anything. (volunteers also welcome!)

    Having said that:
    I'm running an existing site on PHP 7 using the pmf2-2.2.0 branch from git - there's a bunch of stuff that doesn't work but a lot that does

     
  • Marvin Francois

    Marvin Francois - 2019-01-19

    I am really interested in this. About to install what you have, Have been using this since at least 2010.. was running it on PHP 5.6 until I had to upgrade to 7

     
  • Dani

    Dani - 2019-02-13

    Could it be possible to add the code to a git repository (github, gitlab ...)?
    I thought that would help the collaboration.

     
    • Ian Wright

      Ian Wright - 2019-02-13

      I have moved it to the sourceforge version of git which is a lot better than CVS!
      If you think that's not good enough then please open a new ticket.

      Back to the original ticket - it's nearly ready for a new release for php 7 - I'll try and do it next week.

       
  • Dani

    Dani - 2019-02-14

    OK!
    What is the difference between the branch pmf2-2.2.0 and the branch pmf2-2.2.0-pdo?

    What mean pdo?

     
  • Ian Wright

    Ian Wright - 2019-02-19

    I've just released 2.2.0 which should support this - sending a longer release email

     
  • Ian Wright

    Ian Wright - 2019-02-19
    • status: open --> closed
    • Group: Next_Release --> 2.2.0
     
  • Dani

    Dani - 2019-02-19

    Wonderful !! as long as I can test.

     
  • Dani

    Dani - 2019-03-10

    Hello:

    pmfv2-2-0

    I get this error.

    Fatal error: Uncaught Error: Call to undefined function bcsub() in /home/user/phpmyfamily/inc/footer.inc.php:38 Stack trace: #0 /home/user/phpmyfamily/people.php(265): include() #1 {main} thrown in /home/user/phpmyfamily/inc/footer.inc.php on line 38

    Very thanks!

     
    • Ian Wright

      Ian Wright - 2019-03-11

      Which version of php are you using?

       
      • Dani

        Dani - 2019-03-11

        debian stretch
        PHP 7.0.33-0

         
    • Marvin Francois

      Marvin Francois - 2019-03-11

      sounds like you do not have the BCMath extensions for PHP enabled.
      http://php.net/manual/en/book.bc.php

      On Sun, Mar 10, 2019 at 5:54 AM Dani damufo@users.sourceforge.net wrote:

      Hello:

      pmfv2-2-0

      I get this error.

      Fatal error: Uncaught Error: Call to undefined function bcsub() in
      /home/user/phpmyfamily/inc/footer.inc.php:38 Stack trace: #0
      /home/user/phpmyfamily/people.php(265): include() #1 {main} thrown in
      /home/user/phpmyfamily/inc/footer.inc.php on line 38

      Very thanks!

      Status: closed
      Group: 2.2.0
      Created: Wed Nov 21, 2018 01:51 PM UTC by Beejay41
      Last Updated: Tue Feb 19, 2019 07:49 PM UTC
      Owner: nobody

      I'm using php 7.2, which removes the mysql_ functions (removed in 7.0),
      so I can't even run the install.

      Just wanted to evaluate the app.
      Regards,
      Brian


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/phpmyfamily/feature-requests/59/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      Marvin Francois
      816.200.1230 (GV)

       

      Related

      Feature Requests: #59

      • Dani

        Dani - 2019-03-11

        Marvin Francois,

        Effectively! that was the error.
        $ sudo apt install php-bcmath
        $ sudo systemctl restart apache2

        And work fine!
        Very thanks!!

         

Log in to post a comment.