PHP 8 Not work with MainWP

Hello together :slight_smile:

Since I updated my websites to PHP 8, unfortunately the synchronisation with MainWP no longer works.

Is this not yet supported or what is the status here?


### Server Info                    Required                                               Detected                                     Status   ###

MainWP Dashboard                   
MainWP Dashboard Version           4.1.3.1                                                4.1.3.1                                      Bestanden   
MainWP Upload Directory            Writable                                               Writable                                     Bestanden   
MainWP-Erweiterungen               
MainWP Branding Extension          4.0.2.1                                                API License Active                           Bestanden   
MainWP Bulk Settings Manager Extension4.0.2.1                                                API License Active                           Bestanden   
MainWP Client Reports Extension    4.0.5.1                                                API License Active                           Bestanden   
MainWP Clone Extension             4.0.1                                                  API License Active                           Bestanden   
MainWP Favorites Extension         4.0.4                                                  API License Active                           Bestanden   
MainWP Maintenance Extension       4.0.2.1                                                API License Active                           Bestanden   
MainWP Page Speed Extension        4.0.1.1                                                API License Active                           Bestanden   
MainWP Matomo Extension            4.0.2.1                                                API License Active                           Bestanden   
MainWP Pro Reports Extension       4.0.2.1                                                API License Active                           Bestanden   
MainWP Staging Extension           4.0.1                                                  API License Active                           Bestanden   
MainWP Team Control                4.0.1.1                                                API License Active                           Bestanden   
MainWP UpdraftPlus Extension       4.0.3                                                  API License Active                           Bestanden   
MainWP URL Extractor Extension     4.0.1.1                                                API License Active                           Bestanden   
MainWP WooCommerce Shortcuts Extension4.1.1                                                  API License Active                           Bestanden   
MainWP WooCommerce Status Extension4.0.3                                                  API License Active                           Bestanden   
MainWP Wordfence Extension         4.0.2                                                  API License Active                           Bestanden   
WordPress                          
WordPress Version                  >=3.6                                                  5.6                                          Bestanden   
WordPress Memory Limit             >=64M                                                  1024M                                        Bestanden   
MultiSite Disabled                 =true                                                  true                                         Bestanden   
Dateisystem-Methode                = direct                                               direct                                       Bestanden   
PHP                                
PHP Version                        >=5.6                                                  8.0.0                                        Bestanden   
PHP Safe Mode Disabled             =true                                                  true                                         Bestanden   
PHP Max Execution Time             >=30 seconds                                           30                                           Bestanden   
PHP Max Input Time                 >=30 seconds                                           300                                          Bestanden   
PHP Memory Limit                   >=128M                                                 1024M                                        Bestanden   
PCRE Backtracking Limit            >=10000                                                1000000                                      Bestanden   
PHP Upload Max Filesize            >=2M                                                   100M                                         Bestanden   
PHP Post Max Size                  >=2M                                                   8M                                           Bestanden   
SSL Extension Enabled              =true                                                  true                                         Bestanden   
SSL Warnings                       = empty                                                                                             Bestanden   
cURL Extension Enabled             =true                                                  true                                         Bestanden   
cURL Timeout                       >=300 seconds                                          300                                          Bestanden   
cURL Version                       >=7.18.1                                               7.58.0                                       Bestanden   
cURL SSL Version                   >=OpenSSL/0.9.8l                                       OpenSSL/1.1.1                                Bestanden   
PHP Allow URL fopen                JA                                                     
PHP unterstĂĽtzt Exif               JA ( V8.0.)                                            
PHP unterstĂĽtzt IPTC               JA                                                     
PHP unterstĂĽtzt XML                JA                                                     
PHP Deaktivierte Funktionen        opcache_get_status,                                    
PHP Geladene Erweiterungen         Core, PDO, PDO_ODBC, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, json, ldap, libxml, mbstring, mysqli, mysqlnd, odbc, openssl, pcre, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, redis, session, soap, sockets, sodium, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, zlib
MySQL                              
MySQL Version                      >=5.0                                                  10.1.47-MariaDB-0ubuntu0.18.04.1             Bestanden   
MySQL-Modus                        NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION             
MySQL Client VerschlĂĽsselung       utf8mb4                                                
Server Info                        
Server-Software                    Apache                                                 
Betriebssystem                     Linux                                                  
Architektur                        64		 bit                                               
Server-Protokoll                   HTTP/1.0                                               
HTTPS                              AN                                                     
Verbindung zum Server selbst       Unerwarteter HTTP response body:                       
User Agent                         Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Geteway-Schnittstelle              CGI/1.1                                                
Arbeitsspeicherauslastung          19.03 MB                                               
Antwortzeit                        1609845439                                             
Inhalt akzeptieren                 text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Zeichensatz des Inhalts            n. a.                                                  
MainWP-Einstellungen               
Anzahl Child-Websites              31                                                     
WP-Cron benutzen                   Ja                                                     
FĂĽr Shared Hosting oder groĂźe Netzwerke optimierenJa                                                     
Automatische tägliche AktualisierungInstall trusted updates                                
Aufgegebene Plugins/Themes-Toleranz365                                                    
Maximale Anzahl der Beiträge, die zurückgegeben werden sollen                                                       
Maximale Anzahl der Seiten, die zurĂĽckgegeben werden sollen                                                       
Vorrangiges Backup-System          MainWP UpdraftPlus Extension                           
Maximale gleichzeitige Anfragen    4                                                      
Minimale Verzögerung zwischen Anfragen200                                                    
Maximale gleichzeitige Anfragen pro IP1                                                      
Minimale Verzögerung zwischen Anfragen zu derselben IP500                                                    
Maximale gleichzeitige Synchronisierungs-Anfragen8                                                      
Minimale gleichzeitige Installieren/Aktualisieren-Anfragen3                                                      
Active Plugins                     
MainWP Dashboard                   4.1.3.1                                                Aktiviert                                    
MainWP Key Maker                   1.1                                                    Aktiviert                                    
NinjaFirewall (WP Edition)         4.3.1                                                  Aktiviert                                    
Salt Shaker                        1.2.7                                                  Aktiviert                                    
UpdraftPlus - Backup/Restore       2.16.45.24                                             Aktiviert                                    
White Label CMS                    2.2.1                                                  Aktiviert                                    
Wordfence Security                 7.4.14                                                 Aktiviert                                    

Thanks for your help.

I’m not sure that I would expect anything in production to work with a version of PHP that has only been in a release version for a week. Do you NEED PHP 8, or are you just excited about it and want it? :slight_smile:

1 Like

PHP 8.0.0 has been announced for a long time and has been in release for over 4 weeks :wink:
I have no urgent expectations but wanted to ask about this.

Of course I don’t need it but I’m testing it. Maybe a developer of MainWP can tell me more about it?

Hi Duerr,

We still haven’t run full tests on PHP 8, so I would recommend keeping the MainWP server on PHP 7.x

PHP 8 is still pretty new and we will need more time to run tests before we can confirm full compatibility.

Thanks for your answer.

When do you plan to make PHP 8.0.0 possible?

Even WordPress is only beta compatible, so it seems to work, but is not fully tested yet. Theme’s and plugins are working on their own code and solving issues they find. They only possible answer could be: we are working on it, but also depend on third parties.

If you want to help, you can always test it on a non production environment and report all the issues you find back to support (if possible with the updated code). Just saying “it doesn’t work yet” means “you just have to wait until it’s fully supported”.

If you want to read more about why PHP 8.0 is such a big change, you can search for https://www.google.com/search?q=wordpress+php+8 (there are great articles from WP .org, Yoast and Wordfence)

1 Like

I don’t have exact time-frame, but we will try to get it done as soon as possible.

Ok thanks for your answer.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.