• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Really strange character php encoding errors

GlennT

Basic Pleskian
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
 
Interesting. I checked my other server which has been running for awhile where I recently did single plesk to plesk migration and see same error:

WARNING: [pool ..................com] child 3311 said into stderr: "NOTICE: PHP message: PHP Warning: include(): Failed opening 'vfIPWhitelist.php' for inclusion (include_path='.:/opt/plesk/php/7.2/share/pear') in /var/www/vhosts/............../httpdocs/wp-content/plugins/wordfence/lib/wfUtils.php on line 531"

The v should be a w

It was running on php 5.x php fcgi on old server and switched to 7.2 php fpm on new server.

I've switched it to FCGI on new server and left it at same PHP 7.2 version. I'm waiting to see if error returns.

This may be Plesk migration related and, going from FCGI to PHP FPM.
 
Back
Top