PHP Warning – open_basedir security issue
-
Hi,
WP Mail SMTP is throwing the following PHP Warning. There appears to be an issue with your code. The only way to get this error to go away is to set open_basedir to none (disable) or install a different SMTP plugin, which does not cause this error. WP Mail SMTP does send without issue even with the PHP Warning
IIS 10/ Windows Server 2016 / WP 4.9.1 / PHP 7.1.13 / WP Mail SMTP 1.2.2
PHP Warning: is_readable(): open_basedir restriction in effect. File(C:\Inetpub\vhosts\domain.com\staging.domain.com/wp-content/plugins/C:\Inetpub\vhosts\domain.com\staging.domain.com\wp-content\plugins\wp-mail-smtp/languages/wp-mail-smtp-en_US.mo) is not within the allowed path(s): (C:/Inetpub/vhosts/domain.com\;C:\Windows\Temp\) in C:\Inetpub\vhosts\domain.com\staging.domain.com\wp-includes\l10n.php on line 584
Good luck, unfortunately I can’t use WP Mail SMTP or recommend it to my clients as it’s a security issue to set open_basedir to none (disable).
- The topic ‘PHP Warning – open_basedir security issue’ is closed to new replies.