Home › Forum › Problemi Vari con WP › Errore cambio php su server aruba
-
AutorePost
-
-
5 Gennaio 2018 alle 13:05 #31650damjangPartecipante
Ciao a tutti! Mi sono iscritto qui per chiedere se qualcuno saprebbe aiutarmi con il problema che ho riscontrato. Ho wp su server aruba linux e tutto funziona bene da anni. Ho visto che wp però richiede come preferito un php v7.2 o maggiori. Controllando ho verificato che attualmente uso la v5.6. Quindi sono andato nelle impostazioni del server ed ho cambiato la versione di php in 7.1, l’ultima disponibile da aruba. Facendo questo però wp non funziona più e mi da errore nel collegamento al mysql server. Ho provato ancora con php 7.0, ma solo ritornando a php 5.6 funziona tutto di nuovo. Ho cercato un po’ in rete ed ho trovato alcune risposte a questo problema, che potrebbe risolversi ricalcolando la hash della psw del mysql (reimpostando anche la stessa psw). Pero ho anche scoperto che per reimpostare la psw di mysql aruba bisogna fare una richiesta compilando un modulo apposito e mandarlo ad aruba.
Ora vi chiedo: se faccio tutta la procedura poi funzionerà o potrebbe essere qualcosa altro che non va?
Il wp con il problema e http://www.fsrfvg.it
Grazie
Damjan
-
5 Gennaio 2018 alle 14:43 #122048SteveAglAmministratore del forum
COme ben indicato qua sotto non forniamo assistenza sugli hosting, il problema NON è ovviamente di WP, quindi direi che devi aprire un ticket con Aruba e chiedere li.
-
5 Gennaio 2018 alle 15:40 #122049damjangPartecipante
Scusa, non volevo assistenza sul hosting ma chiedere se qualcuno ha avuto di questi problemi (e che usa php 7) oppure se potrebbe essere un problema di configurazione del mio wp. Ma se con php 5.6 funziona e php 7.0 e maggiori no, io penserei che sia proprio un problema di qualche configurazione vecchia di wp. Ma forse sbaglio…
Grazie comunque
-
5 Gennaio 2018 alle 15:47 #122050SteveAglAmministratore del forum
ho aggiornato php su diversi hosting e VPS (sorry no aruba) senza mai problemi, piuttosto forse qualche plugin? Fai letrpove indicate qua sotto
-
8 Gennaio 2018 alle 13:57 #122052TittiModeratore
Non è un problema di WordPress. Le versioni PHP 7.0.26, 7.1.12 e 7.2 hanno introdotto alcune modifiche sul metodo di conteggio dei riferimenti delle stringhe, e queste possono creare gravi errori con alcuni plugin.
Soluzioni:
– individuare il/i plugin che causa/causano problemi facendo le prove indicate nel box qui sotto
– rivolgersi al supporto di detto o detti plugin che avranno sicuramente già riscontrato il problema
– tornare temporaneamente alla versione 5.6 in attesa che il problema sia risolto da parte dell’autore del plugin (o dagli sviluppatori del PHP)
– oppure tener disattivato/i il/i plugin problematico/i
-
8 Gennaio 2018 alle 22:10 #122053damjangPartecipante
Grazie, ho fatto cosi la prova: disabilitato tutti i plugin e impostato il tema originale (sia Twenty Twelve che Twenty Fifteen). Provato a cambiare il php sia in 7.0 che 7.1 ma niente. Ricevo solo l’errore “Errore nello stabilire una connessione al database” e niente altro. Ripassando a php 5.6 tutto ritorna a funzionare, sia senza plugin/tema, sia con tutto.
Ho verificato anche nel log degli errori del sito, e trovo tanti di questi:
[Mon Jan 08 23:03:11 2018] [error] [client 23.83.87.40:49699] - www.fsrfvg.it - AH00687: Negotiation: discovered file(s) matching request: /web/htdocs/www.fsrfvg.it/home/index.html (None could be negotiated).
ma credo che non c'entrino, perché ci sono sempre... -
9 Gennaio 2018 alle 11:16 #122054TittiModeratore
Le prove sembrano dimostrare che si tratta di un errore sul server, apri quindi un ticket con Aruba.
Comunque il file di configurazione di WP in connessione con il database è il wp-config e puoi sempre controllare che non presenti anomalie o caratteri strani. Se è vero che è lo stesso indipendentemente dalla versione PHP, è anche vero che alcune manovre automatiche fatte dal pannello di gestione possono alterare proprio quel file, in un modo non visibile ad esempio via FTP.
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.