ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Wordpress/php issue

    Scheduled Pinned Locked Moved IT Discussion
    11 Posts 4 Posters 464 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.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Are you sure that WordPress is calling PHP7 rather than 5.6?

      WLS-ITGuyW 2 Replies Last reply Reply Quote 1
      • WLS-ITGuyW
        WLS-ITGuy @scottalanmiller
        last edited by

        @scottalanmiller said in Wordpress/php issue:

        Are you sure that WordPress is calling PHP7 rather than 5.6?

        It is calling 5.6 because the limit for file uploads is set to 8MB in 5.6 and 20MB in 7 and when I go to media in wordpress it shows that the limit is 8MB

        1 Reply Last reply Reply Quote 0
        • WLS-ITGuyW
          WLS-ITGuy @scottalanmiller
          last edited by

          @scottalanmiller said in Wordpress/php issue:

          Are you sure that WordPress is calling PHP7 rather than 5.6?

          @wls-itguy said in Wordpress/php issue:

          @scottalanmiller said in Wordpress/php issue:

          Are you sure that WordPress is calling PHP7 rather than 5.6?

          It is calling 5.6 because the limit for file uploads is set to 8MB in 5.6 and 20MB in 7 and when I go to media in wordpress it shows that the limit is 8MB

          The other odd part is I changed the upload limit to 15 in 5.6 and it still shows 8MB

          black3dynamiteB 1 Reply Last reply Reply Quote 0
          • black3dynamiteB
            black3dynamite @WLS-ITGuy
            last edited by

            @wls-itguy said in Wordpress/php issue:

            @scottalanmiller said in Wordpress/php issue:

            Are you sure that WordPress is calling PHP7 rather than 5.6?

            @wls-itguy said in Wordpress/php issue:

            @scottalanmiller said in Wordpress/php issue:

            Are you sure that WordPress is calling PHP7 rather than 5.6?

            It is calling 5.6 because the limit for file uploads is set to 8MB in 5.6 and 20MB in 7 and when I go to media in wordpress it shows that the limit is 8MB

            The other odd part is I changed the upload limit to 15 in 5.6 and it still shows 8MB

            systemctl restart apache

            JaredBuschJ WLS-ITGuyW 2 Replies Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch @black3dynamite
              last edited by

              @black3dynamite said in Wordpress/php issue:

              @wls-itguy said in Wordpress/php issue:

              @scottalanmiller said in Wordpress/php issue:

              Are you sure that WordPress is calling PHP7 rather than 5.6?

              @wls-itguy said in Wordpress/php issue:

              @scottalanmiller said in Wordpress/php issue:

              Are you sure that WordPress is calling PHP7 rather than 5.6?

              It is calling 5.6 because the limit for file uploads is set to 8MB in 5.6 and 20MB in 7 and when I go to media in wordpress it shows that the limit is 8MB

              The other odd part is I changed the upload limit to 15 in 5.6 and it still shows 8MB

              systemctl restart apache

              Debian moved to systemd?

              WLS-ITGuyW 1 Reply Last reply Reply Quote 0
              • WLS-ITGuyW
                WLS-ITGuy @black3dynamite
                last edited by

                @black3dynamite said in Wordpress/php issue:

                @wls-itguy said in Wordpress/php issue:

                @scottalanmiller said in Wordpress/php issue:

                Are you sure that WordPress is calling PHP7 rather than 5.6?

                @wls-itguy said in Wordpress/php issue:

                @scottalanmiller said in Wordpress/php issue:

                Are you sure that WordPress is calling PHP7 rather than 5.6?

                It is calling 5.6 because the limit for file uploads is set to 8MB in 5.6 and 20MB in 7 and when I go to media in wordpress it shows that the limit is 8MB

                The other odd part is I changed the upload limit to 15 in 5.6 and it still shows 8MB

                systemctl restart apache

                There should a be a 'No $hit' button for replies like that :). I did that also and actually rebooted the server. Still nothing.

                1 Reply Last reply Reply Quote 0
                • WLS-ITGuyW
                  WLS-ITGuy @JaredBusch
                  last edited by

                  @jaredbusch said in Wordpress/php issue:

                  @black3dynamite said in Wordpress/php issue:

                  @wls-itguy said in Wordpress/php issue:

                  @scottalanmiller said in Wordpress/php issue:

                  Are you sure that WordPress is calling PHP7 rather than 5.6?

                  @wls-itguy said in Wordpress/php issue:

                  @scottalanmiller said in Wordpress/php issue:

                  Are you sure that WordPress is calling PHP7 rather than 5.6?

                  It is calling 5.6 because the limit for file uploads is set to 8MB in 5.6 and 20MB in 7 and when I go to media in wordpress it shows that the limit is 8MB

                  The other odd part is I changed the upload limit to 15 in 5.6 and it still shows 8MB

                  systemctl restart apache

                  Debian moved to systemd?

                  Yes 😞 since Debian 8

                  1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch
                    last edited by

                    I use it for my Ubiquiti stuff only. and that is barely touched.

                    1 Reply Last reply Reply Quote 0
                    • black3dynamiteB
                      black3dynamite
                      last edited by

                      Instead of uninstalling php5, just disable it.

                      # Disable php5 enable php7
                      a2dismod php5
                      a2enmod php7
                      systemctl restart apache2.service
                      
                      1 Reply Last reply Reply Quote 1
                      • WLS-ITGuyW
                        WLS-ITGuy
                        last edited by

                        Weird but working now. I went back in the ini file for 5.6 and changed it to another #, saved it, restarted service, went into wordpress and it didn't register. Went back to ini in 5.6, changed it again, saved, and restarted services and this time it did register. WHATEVER!

                        @black3dynamite said in Wordpress/php issue:

                        Instead of uninstalling php5, just disable it.

                        # Disable php5 enable php7
                        a2dismod php5
                        a2enmod php7
                        systemctl restart apache2.service
                        

                        Well, that sure makes things easier 🙂

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post