• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Wordpress sites not working on PHP7

rdarby

New Pleskian
I have a problem with plesk / wordpress / php7.
I have about 10 wordpress websites running the same config : php 7.0.13 + nginx (php-fpm) - they all work fine, never had a problem.
About 2 weeks ago i had to create 2 new websites, using the same config. I created the domains, set up php as php7 (run php as fpm nginx), i set up wordpress, it all worked fine. Installed the theme a plugins for both sites and they eventually stopped running. I get a blank page. Tried to turn on wp debug - i get nothing. One stopped working after installing a plugin, the other after installing a theme. I tried to deactivate / delete the plugin and theme - this would not get the websites back. Strange thing is, i run the same theme and plugins on the other 10 sites as well and those still work fine (installed them 6 months ago). Even stranger is that on one new website i got the blank screen after activating theme and on the other i didn't. Same with the plugins... So i set up wordpress again on both sites (after deleting the files and db), installed the theme and plugins and didn't get the blank screen immediately - it appeared after a few seconds after i changed some settings inside wp.

The only fix i could find for this was to switch back to php 5 (switching the php7 as fastcgi would not work either). Sites work on php5. If i switch back to php7 they don't. I tried switching between php5 and 7 a few times, one time it worked on php7 - but just for a few mins, once i published a page, it all went blank.

There is enough free memory on the server - i don't really know where the problem is, but i really need to get this working on php7.

I'm running plesk 12.5 on centos 6.8 - i tried updating to onyx, update went well but the problem is still there.

Please help!
 
Back
Top