PHP Version

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tobedeleted
    Pay Per Minute Products
    • Nov 2015
    • 299

    #1

    PHP Version

    For those of you that run Linux/Apache and code with PHP/MySQL what version are you using? I've been making a lot of optimization changes to get the most out of my server and I've seen opinions on 5.6 vs 7+, but 7 requires a lot. Especially if your coming from an outdated version.

    I'm testing with the multi php feature and seeing if I can truely see a difference, but just wanted to know if anyone has some advice on this.
  • k0nr4d
    Confirmed User
    • Aug 2006
    • 9231

    #2
    The porn industry is specific - we use alot of things like trade scripts that haven't been updated in years. If you are coding for porn, then it's best to code for 5.6, and maintain compatibility but not REQUIRE php 7
    Mechanical Bunny Media
    Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development

    Comment

    • magneto664
      God Bless You
      • Aug 2014
      • 1470

      #3
      Don't use noting less than 7.1
      currently move all domains to 7.3
      magneto664 📧 gmail.com
      Cams.Zone 💘 Best CDN for Adult Content
      My Fav: 👍 Chaturbate 👍 Stripchat 👍 AdultFriendFinder

      Comment

      • k0nr4d
        Confirmed User
        • Aug 2006
        • 9231

        #4
        Originally posted by magneto664
        Don't use noting less than 7.1
        currently move all domains to 7.3
        Be careful with using cutting edge php version. I've seen ioncube cause 7.x to segfault completely.
        Mechanical Bunny Media
        Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development

        Comment

        • AdultKing
          Raise Your Weapon
          • Jun 2003
          • 15601

          #5
          Originally posted by k0nr4d
          The porn industry is specific - we use alot of things like trade scripts that haven't been updated in years. If you are coding for porn, then it's best to code for 5.6, and maintain compatibility but not REQUIRE php 7
          Listen to this guy, he is right.

          Most scripts for adult haven't been maintained for some time and PHP 5.6 is the safe bet.

          However if you're running Wordpress or anything modern, even Mechbunny, you can use PHP 7 safely.

          Comment

          • just a punk
            So fuckin' bored
            • Jun 2003
            • 32393

            #6
            Originally posted by sincats
            For those of you that run Linux/Apache and code with PHP/MySQL what version are you using? I've been making a lot of optimization changes to get the most out of my server and I've seen opinions on 5.6 vs 7+, but 7 requires a lot. Especially if your coming from an outdated version.

            I'm testing with the multi php feature and seeing if I can truely see a difference, but just wanted to know if anyone has some advice on this.
            PHP 7+ is about two times faster than PHP 5+. So my answer is obvious.



            P.S. The CyberSEO 7 plugin is fully compatible with both PHP 5.6 and PHP 7+ on all levels.
            Obey the Cowgod

            Comment

            • freecartoonporn
              Confirmed User
              • Jan 2012
              • 7683

              #7
              if the script requires 7+ then i use 7+
              else whichever yum has.
              SSD Cloud Server, VPS Server, Simple Cloud Hosting | DigitalOcean

              Comment

              • blackmonsters
                Making PHP work
                • Nov 2002
                • 20961

                #8
                PHP is moving forward and developers don't want to be left behind.
                Expecting developers to hang around to work on antiquated code is a bad idea.
                Failure of porn sites to use php7 is why developers need to exit porn for good.
                Porn biz is slow, so developers have to build mainstream modern code; not ancient code.

                Sticking with php5+ is only going to make a half dead porn industry even more dead.

                Free Open Source Live Aggregated Cams Script (FOSLACS)

                Comment

                • just a punk
                  So fuckin' bored
                  • Jun 2003
                  • 32393

                  #9
                  Indeed .
                  Obey the Cowgod

                  Comment

                  • Bladewire
                    StraightBro
                    • Aug 2003
                    • 56228

                    #10
                    Originally posted by CyberSEO
                    The CyberSEO 7 plugin is fully compatible with both PHP 5.6 and PHP 7+ on all levels.
                    Well done


                    Skype: CallTomNow

                    Comment

                    • Klen
                      • Aug 2006
                      • 32235

                      #11
                      Well, what is interesting , i saw on one benchmark how php 5.6 is much faster for some reason then php 7, so maybe better to hold up. But again, it could also depend which functions are used.

                      Comment

                      • Miguel T
                        ♦ Web Developer ♦
                        • May 2005
                        • 12473

                        #12
                        7.2 right now

                        Full Stack Webdeveloper: HTML5/CSS3, jQuery, AJAX, ElevatedX, NATS, MechBunny, Wordpress

                        Comment

                        • AdultKing
                          Raise Your Weapon
                          • Jun 2003
                          • 15601

                          #13
                          Everything I develop for myself is bleeding edge PHP 7.3

                          Scripts I update for the open source community will all be PHP 7.1

                          PHP 5.6 is end of life, in fact anything below 7.1 is end of life.

                          PHP: Supported Versions

                          Comment

                          • Klen
                            • Aug 2006
                            • 32235

                            #14
                            Originally posted by AdultKing
                            Everything I develop for myself is bleeding edge PHP 7.3

                            Scripts I update for the open source community will all be PHP 7.1

                            PHP 5.6 is end of life, in fact anything below 7.1 is end of life.

                            PHP: Supported Versions
                            It doesn't hurt to have compatible scripts, even if current versions are not good at the moment.

                            Comment

                            • k0nr4d
                              Confirmed User
                              • Aug 2006
                              • 9231

                              #15
                              Originally posted by CyberSEO
                              PHP 7+ is about two times faster than PHP 5+. So my answer is obvious.



                              P.S. The CyberSEO 7 plugin is fully compatible with both PHP 5.6 and PHP 7+ on all levels.
                              It's faster - yes - but in real world applications doesn't come out like that. PHP7 won't speed up mysql queries.
                              Mechanical Bunny Media
                              Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development

                              Comment

                              • just a punk
                                So fuckin' bored
                                • Jun 2003
                                • 32393

                                #16
                                Originally posted by AdultKing
                                ^^^ this.

                                Originally posted by k0nr4d
                                PHP7 won't speed up mysql queries.
                                MySQL 5.5+ will do it.
                                Obey the Cowgod

                                Comment

                                • blackmonsters
                                  Making PHP work
                                  • Nov 2002
                                  • 20961

                                  #17
                                  Originally posted by CyberSEO
                                  MySQL 5.5+ will do it
                                  He's not listening to that; because of his php5+ tube script.

                                  Free Open Source Live Aggregated Cams Script (FOSLACS)

                                  Comment

                                  • seeandsee
                                    Check SIG!
                                    • Mar 2006
                                    • 50945

                                    #18
                                    security is most valuable
                                    BUY MY SIG - 50$/Year

                                    Contact here

                                    Comment

                                    • tobedeleted
                                      Pay Per Minute Products
                                      • Nov 2015
                                      • 299

                                      #19
                                      When it comes to speed there are a lot of variables that make a much bigger impact..

                                      Efficient queries, compression, CDN, etc. Hell even just compressing your design images and making more use of CSS will make a big impact on speed.

                                      I have a duplicate dev build that I'm upgrading to 7+ and that will help me really see just how much of a difference it will make. But they have changed the sql libraries and so much that in some cases I have to completely re-write entire modules.

                                      But yeah.. Staying relevant is important. I've got a buddy that has a job maintaining existing programs written in cobol. He's been doing it so long that he's not up to date at all with anything else. So as a programmer you can see how that would be a problem if he lost that job.

                                      Most good developers stay on top of the latest tech.

                                      Comment

                                      • tobedeleted
                                        Pay Per Minute Products
                                        • Nov 2015
                                        • 299

                                        #20
                                        Originally posted by seeandsee
                                        security is most valuable
                                        True, most important.

                                        Comment

                                        Working...