I recently migrated a bunch of websites from cpanel to plesk Onyx and I'm seeing strange errors where characters in an include or require statement are being rewritten:
For example:
/public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 531\nPHP message: PHP Warning: include(): Failed opening 'yfIPWhitelist.php' for inclusion (include_path='.:/opt/plesk/php/7.1/share/pear') in
The y should been a w
I've seen this exact same problem on a few sites but most seem to be OK.
I believe the websites were running on php 5.6 using FCGI on old cpanel server. On migration, they switched to 7.2 automatically and I changed them to run under PHP-FPM.
To fix this error, I went directly into these files in some cases and deleted and then re-entered the same character and saved and this seems to fix issue.
I also dropped php version from 7.2 to 7.1 and switched to FCGI and this seems to prevent reoccurence or same problems from reoccuring on some other php files.
Has anyone seen this kind of problem before and know what causes it?
I've never seen this problem before and it's vexing!
Thanks
G
For example:
/public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 531\nPHP message: PHP Warning: include(): Failed opening 'yfIPWhitelist.php' for inclusion (include_path='.:/opt/plesk/php/7.1/share/pear') in
The y should been a w
I've seen this exact same problem on a few sites but most seem to be OK.
I believe the websites were running on php 5.6 using FCGI on old cpanel server. On migration, they switched to 7.2 automatically and I changed them to run under PHP-FPM.
To fix this error, I went directly into these files in some cases and deleted and then re-entered the same character and saved and this seems to fix issue.
I also dropped php version from 7.2 to 7.1 and switched to FCGI and this seems to prevent reoccurence or same problems from reoccuring on some other php files.
Has anyone seen this kind of problem before and know what causes it?
I've never seen this problem before and it's vexing!
Thanks
G